]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: ImageWatcher shouldn't block the notification thread
authorJason Dillaman <dillaman@redhat.com>
Wed, 18 Nov 2015 19:07:51 +0000 (14:07 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 19 Nov 2015 01:34:43 +0000 (20:34 -0500)
commit6f94bde44500cc4592ac9a842cbb150b8cabf96b
tree9d690dbec281539c8ba72ad6994adefe4ec2f5ce
parentda473a7e50274b15b163e236ebc8e7fb23b9a07c
librbd: ImageWatcher shouldn't block the notification thread

Now that all RPC operations are asynchronous, 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>
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h