Repository navigation
osd: Remove sub-chunk support in Fast EC - #71927
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
9534726 to
d0f64d0
Compare
d0f64d0 to
e5deabd
Compare
e5deabd to
0a99532
Compare
| for (auto &&[hoid, tl] : to_read) { | ||
| auto it = subchunks.find(hoid); | ||
| if (it == subchunks.end()) continue; | ||
| if (it == subchunks.end()) { |
There was a problem hiding this comment.
I don't think this check is necessary. We can skip the subchunks and just assume the cost is for the full op. Does that mean we can also simplify the encode?
| // subchunks itself, so only build the default when it hasn't. | ||
| const auto *subchunks_out = &subchunks; | ||
| std::map<hobject_t, std::vector<std::pair<int, int>>> defaulted_subchunks; | ||
| if (subchunks.empty()) { |
There was a problem hiding this comment.
Won't subchunks ALWAYS be empty on the sending side? We should assert this is empty. Indeed, I think we can completely drop subchunks from the structure, as long as we encode a dummy subchunks in the right place. For decode, I think we need to throw away the contents.
| #endif | ||
| if (empty_obc) { | ||
| update_object_size_after_read(op.recovery_info.size, res, req); | ||
There was a problem hiding this comment.
nit: Unwanted whitespace change
We are no longer supporting Clay. The Sub-Chunk code was never actually tested in its "on" mode, so is likely broken. This simply removes the sub-chunk support Signed-off-by: Alex Ainscow <[email protected]> Assisted-by: IBM-Bob v2.1.0 Assisted-by: Claude Code:Claude-Sonnet-5
0a99532 to
5d50b1a
Compare
|
Ack. Fast EC has never supported Clay. The sub-chunk code was stub code from the port and never tested. We have since decided to deprecate it, since it doesn't have any performance advantages over ISA-L and is difficult to maintain. When we remove legacy EC, Clay users will be required to use pool migration to move their data to ISA-L. |
|
jenkins test make check |
|
This PR has been added to wip-bharath14-testing-20260930.003013-main. |
|
jenkins test api |
1 similar comment
|
jenkins test api |
We are no longer supporting the Clay EC plugin. The Sub-Chunk code was never actually tested in its "on" mode, so is likely broken.
This PR simply removes the sub-chunk support
Assisted-by: IBM-Bob v2.1.0
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.