]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: is_exclusive_lock_owner API should ping OSD 14480/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 16 Mar 2017 16:28:41 +0000 (12:28 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 13 Apr 2017 13:17:41 +0000 (09:17 -0400)
commit7e30b630e2806c73ea503871599f958b58df7934
tree0cd4c21c86ae75132b40e016294e9eb98665a99e
parent57f3656231b7780ff11f95a9feaaa28c3d573b35
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>
(cherry picked from commit e15db05960a284bdf3701256722299d553cfd5aa)

Conflicts:
src/librbd/ManagedLock.[h|cc]: logic moved to ExclusiveLock
src/librbd/ExclusiveLock.cc
src/librbd/ExclusiveLock.h
src/librbd/internal.cc
src/test/pybind/test_rbd.py