Repository navigation
crimson/osd: Admin Socket fixes - #63523
Merged
Merged
Conversation
Matan-B
force-pushed
the
wip-matanb-crimson-asock-race-fixes
branch
2 times, most recently
from
May 28, 2025 11:08
fe3b4dd to
f233b9e
Compare
Contributor
Author
|
note: should be retested with #63673 |
Matan-B
force-pushed
the
wip-matanb-crimson-asock-race-fixes
branch
from
June 22, 2025 10:35
275dee0 to
b5c2560
Compare
Matan-B
force-pushed
the
wip-matanb-crimson-asock-race-fixes
branch
2 times, most recently
from
June 22, 2025 10:49
68ac55e to
24e3136
Compare
Matan-B
marked this pull request as ready for review
June 22, 2025 10:50
Matan-B
referenced
this pull request
in Matan-B/ceph
Jun 22, 2025
Signed-off-by: Matan Breizman <[email protected]>
Matan-B
force-pushed
the
wip-matanb-crimson-asock-race-fixes
branch
3 times, most recently
from
June 22, 2025 14:48
6050b8d to
6eb9306
Compare
cyx1231st
approved these changes
Jun 23, 2025
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Copy f into reactor_map_seq which would be kept alive due to this method being a coroutine. That way, we can ensure the lambdas passed to each core that are capturing f by reference would be safe. Alternatively, we can also copy f by using it's copy ctor and pass a copy to each shard: co_await crimson::submit_to(core, F(f)) However, avoiding the copy is possible here due to the sequential traversal. Note, seastar's invoke_on_all do copy each callback to every shard and is running the invocation in parallel. The above would have fixed f's captures to be invalid and result in a segfaults on diffrent shards. Fixes: https://tracker.ceph.com/issues/71457 Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Let PGShardManager::invoke_on_each_shard_seq pass the local shard_services instance instead of using an additional helper. The downside of dropping the generic sharded_map_seq helper is that it is able to support *any* (seastar::)sharded object. However, as shard_services is the only user of it - directly using the local instance without the helper seems easier to read. Signed-off-by: Matan Breizman <[email protected]>
Matan-B
force-pushed
the
wip-matanb-crimson-asock-race-fixes
branch
from
June 23, 2025 10:53
6eb9306 to
87d2085
Compare
Contributor
Author
|
@cyx1231st, I've addressed the comments above.
|
4 of 14 tasks
cyx1231st
approved these changes
Jun 24, 2025
Signed-off-by: Matan Breizman <[email protected]>
Contributor
Author
|
jenkins restest this please |
Contributor
Author
|
jenkins test make check arm64 |
Contributor
Author
zhscn
reviewed
Jun 26, 2025
14 tasks
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.
Fixes: https://tracker.ceph.com/issues/71457
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