]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: delay acquiring exclusive lock if watch has failed 10827/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 4 Aug 2016 17:24:54 +0000 (13:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 23 Aug 2016 13:15:37 +0000 (09:15 -0400)
commitecea6dcf1c36bc5d478cf030f7ba1e01ca35a2d0
tree611c44c4d8282651cc054b18615bb28e42768800
parent49a39ebf6f7c6b7b0b19e4486fc10e57637e143c
librbd: delay acquiring exclusive lock if watch has failed

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