]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: fail immediately if the exclusive lock cannot be acquired
authorJason Dillaman <dillaman@redhat.com>
Tue, 3 Jan 2017 20:29:17 +0000 (15:29 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 30 Jan 2017 14:20:37 +0000 (09:20 -0500)
commit7aa424ab450afb6ff308272cedc854a33420d081
treefa592e8212f2ec4a1df1642186faee9bb5e35b01
parent5d96332700cbb05f541c211c375ca97506b41aad
librbd: fail immediately if the exclusive lock cannot be acquired

Fixes: http://tracker.ceph.com/issues/16988
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 47b89f4d48a0b99876462167389df28893a8d418)
src/librbd/ExclusiveLock.cc
src/librbd/ExclusiveLock.h
src/librbd/ImageWatcher.cc
src/test/librbd/test_librbd.cc
src/test/librbd/test_mock_ExclusiveLock.cc