Repository navigation
OSD: Optimised EC Deep Scrubbing Implementation - #63184
SrinivasaBharath merged 5 commits into
Conversation
47f7189 to
00dbeca
Compare
|
Did you mean to add us as reviewers, rather than assign to us? |
aainscow
left a comment
There was a problem hiding this comment.
Mostly nits. Some concerns:
- There are places where we are using <k to mean "is data" this will break for LRC... academic.
- We seem to be supporting legacy EC for some stuff. This adds test burden and we only want if we have time for that.
- ISA has a m==1 restriction - given this is our default plugin, this is very worrying.
aainscow
left a comment
There was a problem hiding this comment.
Meant to click "request changes"
Yes I did, that's not the first time I've clicked the wrong button there either, oops |
Thanks for raising these points. Edit: The legacy implementation as it currently stands is now in the branch named "ec_legacy_and_optimisation_deep_scrubbing_implementation" in my repository. |
e416df8 to
080299c
Compare
080299c to
c77ed46
Compare
There was a problem hiding this comment.
@rzarzynski - any problem here (after your buffer changes)? thanks
|
jenkins test make check |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
04e3702 to
6a4f771
Compare
|
Rebased |
|
@JonBailey1993 Apologies for the delay in QA- I ran into some issues that I think might be related to this PR. I'm asking Bharath to drop it and rerun some jobs to make sure. Can you take a look at the following issues and let me know what you think? I particularly think that (1) is related since the job failed twice, and it is running an ec-radosbench workload. (2) might not be related since it passed in a rerun, and I've seen a similar issue before, but it would be good to make sure. The tests were also run on an older SHA (I see there have been further updates), so we might need to retest this one anyway. Testing ref: https://tracker.ceph.com/issues/71409 Suspected regressions:
/a/skanta-2025-06-03_11:03:28-rados-wip-bharath1-testing-2025-06-02-2052-distro-default-smithi/8307501 rados/thrash-erasure-code/{ceph clusters/{fixed-4} fast/fast mon_election/connectivity msgr-failures/fastclose objectstore/{bluestore/{alloc$/{avl} base mem$/{low} onode-segment$/{512K-onoff} write$/{v1/{compr$/{no$/{no}} v1}}}} rados recovery-overrides/{more-async-partial-recovery} supported-random-distro$/{ubuntu_latest} thrashers/default thrashosds-health workloads/ec-radosbench}
/a/skanta-2025-06-03_11:03:28-rados-wip-bharath1-testing-2025-06-02-2052-distro-default-smithi/8307584 |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
RADOS-approved (see https://tracker.ceph.com/projects/rados/wiki/MAIN#httpstrackercephcomissues71975). |
…ing or CRCs Add new flag for whether plugins support encoding/decoding or CRCs to get the CRC of what the encoded/decoded data would be. Signed-off-by: Jon Bailey <[email protected]>
Add iterator traits to mini_flat_map and bitset_set iterator to allow std algorithms to be able to perform operations using the mini_flat_map iterator Signed-off-by: Jon Bailey <[email protected]>
6a4f771 to
9d140d1
Compare
|
Rebase complete. No other changes in push. |
9d140d1 to
de106ec
Compare
|
Rebase above fixes marge conflicts from all_shards being added into ECUtil.h while this PR was in progress (This PR had done the same and it conflicted). Have removed my additions and used the existing implementations of all_shards instead. |
Signed-off-by: Jon Bailey <[email protected]>
Signed-off-by: Jon Bailey <[email protected]>
Signed-off-by: Jon Bailey <[email protected]>
de106ec to
afd3cae
Compare
|
jenkins test api |
depends on #62952
Initial implementation of deep-scrubbing for Optimised EC. Performs deep scrubbing by taking the digests and putting them through the erasure coding plugin to decide if the calculated parity digest is the same as the actual parities digest. Added a unit test to TestErasureCodePlugins.cc to verify this functionality, and added unit tests to test_scrubber_be.cc to test the new scrubbing behaviour.
I have still got some small efficiency and tidying up, but functionally it should be sound and wanted to be able for people to take a look.
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 Definition