]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: is_exclusive_lock_owner API should ping OSD 14481/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:18:24 +0000 (09:18 -0400)
commitb698d1fa4ce4aca5e392eeec600e3357c3cf71a9
tree945f75233b15e175e4e4107e17013a4d74980b0d
parent332b5174c769f395074255e075de8d2cc1ee4021
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

(cherry picked from commit 7e30b630e2806c73ea503871599f958b58df7934)
src/librbd/ExclusiveLock.cc
src/librbd/ExclusiveLock.h
src/librbd/internal.cc
src/test/pybind/test_rbd.py