]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: new ImageWatcher::is_lock_supported method
authorJason Dillaman <dillaman@redhat.com>
Fri, 17 Jul 2015 16:43:46 +0000 (12:43 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 19 Jul 2015 17:44:16 +0000 (13:44 -0400)
commitef453630200ab72373f08357ca6b5ac5c5bbb397
tree78f7cebdf100bd33fce2db6189147f0cadf9a6c1
parent45beb86423c3bd74dbafd36c6822e71ad9680e17
librbd: new ImageWatcher::is_lock_supported method

The new version does not attempt to acquire the snap_lock, to avoid
cases where a recursive lock would result.

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