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

librbd: deadlock while attempting to flush AIO requests #6508

merged 2 commits into from Nov 10, 2015


None yet
3 participants
Copy link

dillaman commented Nov 9, 2015

No description provided.

dillaman added some commits Nov 9, 2015

tests: new test case to catch deadlock on RBD image refresh
Signed-off-by: Jason Dillaman <>
librbd: fixed deadlock while attempting to flush AIO requests
In-flight AIO requests might force a flush if a snapshot was created
out-of-band.  The flush completion was previously invoked asynchronously,
potentially via the same thread worker handling the AIO request. This
resulted in the flush operation deadlocking since it can't complete.

Fixes: #13726
Backport: infernalis, hammer
Signed-off-by: Jason Dillaman <>

jdurgin added a commit that referenced this pull request Nov 10, 2015

Merge pull request #6508 from dillaman/wip-13726
librbd: deadlock while attempting to flush AIO requests

Reviewed-by: Josh Durgin <>

@jdurgin jdurgin merged commit de95d20 into ceph:jewel Nov 10, 2015


This comment has been minimized.

Copy link

aderumier commented Nov 10, 2015

Hi, I confirm that it's fix the problem for me.

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.