Repository navigation
Conversation
rep_repair_primary_object() answers EAGAIN to a failed read on a replica or on an EC shard, and on the primary makes the op wait for the repair. A read in a CALL does not always return the EAGAIN, so execute_ctx() answered the op again. Now the replica or the shard marks its reply as sent, and execute_ctx() does not answer an op that has its reply. On the primary, a waiting op drops the result of its run (parked_for_repair). Fixes: https://tracker.ceph.com/issues/82194 Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Kyle Bader <[email protected]>
5 of 14 tasks
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rep_repair_primary_object()answers EAGAIN to a failed read on a replica or, since #72292, on an EC shard. On the primary, it makes the op wait for the repair. A read in a CALL does not always return the EAGAIN, soexecute_ctx()answered the op again.Now the replica or the shard marks its reply as sent, and
execute_ctx()does not answer an op that has its reply. On the primary, a waiting op drops the result of its run (parked_for_repair). A second failed read in the same run does not put the op in a second wait list.Fixes: https://tracker.ceph.com/issues/82194
Testing
This pull request adds no test of its own. With only this change on main 169a0fb, the EIO tests of
test-erasure-eio.shpass.Checklist