Repository navigation
Conversation
There is only one caller. Signed-off-by: Sage Weil <[email protected]>
The mark-down of old peers needs to take the session_dispatch_lock in order to safely clear the Session ref cycle. However, for fast dispatch callers, that lock is already held. Pass a flag down from the callers indicating whether we need to take the additional lock. Fixes: #9096 Signed-off-by: Sage Weil <[email protected]>
|
👍 |
Member
Author
|
almost, his patch added require_same_peer_instance, this removes require_up_osd_peer. basically moving the common elements of require_up_osd_peer and require_same_or_newer_map into require_same_peer_instance... |
|
ran ../qa/workunits/cephtool/test.sh --asok-does-not-need-root -t mon_osd a dozen of times with success. |
Signed-off-by: Sage Weil <[email protected]>
Contributor
|
Looks good to me. |
athanatos
pushed a commit
that referenced
this pull request
Aug 13, 2014
osd: fix require_same_peer_instance from fast_dispatch Reviewed-by: Samuel Just <[email protected]> Reviewed-by: Loic Dachary <[email protected]>
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.
No description provided.