Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: fix locking for finish_write #10665

Closed
wants to merge 2 commits into from

Conversation

liewegas
Copy link
Member

In 0633c71 we adding
locking (which we need), but used first_collection,
which may not be the right collection for the given
onode. Add an onode->collection pointer so that we can
lock the correct thing.

Signed-off-by: Sage Weil sage@redhat.com

In 0633c71 we adding
locking (which we need), but used first_collection,
which may not be the right collection for the given
onode.  Add an onode->collection pointer so that we can
lock the correct thing.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas
Copy link
Member Author

#10215 is a better fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant