Skip to content

librbd: fix deadlock on image refresh#4013

Merged
jdurgin merged 2 commits intomasterfrom
wip-5488
Mar 18, 2015
Merged

librbd: fix deadlock on image refresh#4013
jdurgin merged 2 commits intomasterfrom
wip-5488

Conversation

@dillaman
Copy link
Copy Markdown

No description provided.

Jason Dillaman added 2 commits March 16, 2015 10:10
librados will execute all AIO callbacks via a single finisher to
prevent blocking the Objecter.  Reproduce this behavior to avoid
deadlocks that only exist when using the test stub.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
cache_lock needs to be acquired before snap_lock to avoid
the potential for deadlock.

Fixes: #5488
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@loic-bot
Copy link
Copy Markdown

SUCCESS: the output of run-make-check.sh on centos-7 for 6edc362 is http://paste2.org/HpJt97BI

:octocat: Sent from GH.

jdurgin added a commit that referenced this pull request Mar 18, 2015
librbd: fix deadlock on image refresh

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit c8c63f3 into master Mar 18, 2015
@jdurgin jdurgin deleted the wip-5488 branch March 18, 2015 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants