Repository navigation
tentacle: erasure-code/clay: decode sub-chunks in place - #72182
Conversation
Since 216eb26 raised ErasureCode::SIMD_ALIGN from 32 to 64, CLAY realigns sub-chunk views that are smaller than SIMD_ALIGN (32 bytes for k=12 m=4 d=15) before decoding into them. The realign copies the view, the inner decode writes into the copy and the result is lost. Encode goes through the same path, so parity is written wrong, and degraded reads return uninitialised memory. Don't realign the sub-chunk views that are written in place; assert that they are contiguous instead. The repair path still realigns its inputs, which come from the read reply and may be misaligned. Add an enabled round-trip test with 32-byte sub-chunks. Fixes: https://tracker.ceph.com/issues/80848 Reported-by: Michal Strnad Signed-off-by: Lumir Sliva <[email protected]> (cherry picked from commit a148360)
|
CC: @lumir-sliva. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Missing Original PR(s): Could not identify any
mainPRs associated with this backport. Ensure the backport commits properly reference the original PRs. - Orphaned Backport PR: Could not find any Redmine tracker linked directly to this backport PR #72182.
Automated Backport Parity Review - Unmerged Commits Detected
This backport contains cherry-picks of commits that do not appear to be merged into the main branch (could not find an associated merge commit or PR). Backports should only contain commits that have already been merged upstream.
Unmerged Cherry-Picks
Be familiar with the rules and guidelines for writing backports.
Automated Backport Parity Review
Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.
Commit Parity Visualizer
| BACKPORT PR #72182 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 9104378 erasure-code/clay: decode sub-chunks in place | <<<< EXTRA IN BACKPORT >>>> |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
@ljflores, @SrinivasaBharath: would you mind taking this into QA? |
|
/audit override |
|
✅ Audit Override Applied by @rzarzynski. |
aainscow
left a comment
There was a problem hiding this comment.
I confirmed this is a faithful backport.
|
jenkins test make check |
|
jenkins test make api |
1 similar comment
|
jenkins test make api |
|
@ljflores: is the QA ready for this? |
|
jenkins test api |
This is a (speculative) backport of #72056.
Tracker: https://tracker.ceph.com/issues/81139.
Parent tracker: https://tracker.ceph.com/issues/80848.
(cherry picked from commit a148360)
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.