]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: recursive lock possible when disabling journaling 9640/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 10 Jun 2016 19:44:26 +0000 (15:44 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 10 Jun 2016 19:55:22 +0000 (15:55 -0400)
commitfb255e6c3cd44c8d24c53e3cd70395a11a712574
treeee8b3ba368606580641ae810a1d979d61747b53d
parent8353e39bef9d622f28aad43de1bc42c12225682b
librbd: recursive lock possible when disabling journaling

If pool-level mirroring is enabled, deleting the journal
could cause a deadlock attempting to delete remote peer
sync-point snapshots.

Fixes: http://tracker.ceph.com/issues/16235
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc
src/test/librbd/test_librbd.cc
src/test/librbd/test_mirroring.cc
src/test/librbd/test_support.cc
src/test/librbd/test_support.h