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

librados: race condition on aio_notify completion handling #7864

Merged
merged 1 commit into from Mar 9, 2016

Conversation

dillaman
Copy link

@dillaman dillaman commented Mar 1, 2016

Wait for both the notify_finish callback and the standard RADOS ack
callback before completing the associated AioCompletion. Otherwise,
there is a potential race condition of reading to/writing from an
already destructed object.

Signed-off-by: Jason Dillaman dillaman@redhat.com

Wait for both the notify_finish callback and the standard RADOS ack
callback before completing the associated AioCompletion.  Otherwise,
there is a potential race condition of reading to/writing from an
already destructed object.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@jdurgin
Copy link
Member

jdurgin commented Mar 2, 2016

lgtm

@dillaman dillaman added this to the jewel milestone Mar 4, 2016
liewegas added a commit that referenced this pull request Mar 9, 2016
librados: race condition on aio_notify completion handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@liewegas liewegas merged commit 9c13921 into ceph:master Mar 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants