]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: is_exclusive_lock_owner API should ping OSD 14003/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 16 Mar 2017 16:28:41 +0000 (12:28 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 Mar 2017 16:49:59 +0000 (12:49 -0400)
commite15db05960a284bdf3701256722299d553cfd5aa
treeef9e301b20d61904164f02224442aaffa7596018
parent68617455f534a612ade1331f43b032ab524704ae
librbd: is_exclusive_lock_owner API should ping OSD

This is required to detect if a peer has been silently blacklisted
and is therefore no longer the lock owner.

Fixes: http://tracker.ceph.com/issues/19287
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ManagedLock.cc
src/librbd/ManagedLock.h
src/librbd/internal.cc
src/test/pybind/test_rbd.py