]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: ImageWatcher shouldn't block the notification thread 7406/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 Jan 2016 19:38:20 +0000 (14:38 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 11 Feb 2016 14:41:51 +0000 (09:41 -0500)
commit46ed443bf674c50a04705597f1caa4882c1ca5b3
treece3a4f132500024528389b4e91cd78635895c6ec
parent2be722a3e944436deff7a8ae513e22b02fd31237
librbd: ImageWatcher shouldn't block the notification thread

Blocking the notification thread will also result in librados async
callbacks becoming blocked (since they use the same thread).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6f94bde44500cc4592ac9a842cbb150b8cabf96b)

Conflicts:
    src/librbd/ImageWatcher.[cc|h]: fewer RPC messages and synchronous
                                    snapshot actions
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h