]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: lock notifications should be executed outside librados thread
authorJason Dillaman <dillaman@redhat.com>
Fri, 12 Feb 2016 18:24:10 +0000 (13:24 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 15 Feb 2016 17:35:22 +0000 (12:35 -0500)
commitd898995b0e3ea301b1325f68a0532d57afa3c816
tree92006588d420d5342350f88d3d8180b579e9f66f
parent7ae774b8e04e5d64e141e5b4ff9feaddd96d29d6
librbd: lock notifications should be executed outside librados thread

Otherwise it's possible that the notification will be blocked if
the librados AIO thread isn't available to invoke the notification
handler.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h