]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: exclusive lock might be disabled while waiting to acquire lock
authorJason Dillaman <dillaman@redhat.com>
Sat, 9 Apr 2016 18:29:14 +0000 (14:29 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 9 Apr 2016 18:44:41 +0000 (14:44 -0400)
commitad489f7b5c239900aca3610667fbdd7698a0b184
tree11704a57980f393a3fd501c0311c5b9ba770f555
parentfd2436156b8613c14d21d7831455458e58832d8d
librbd: exclusive lock might be disabled while waiting to acquire lock

Disabling exclusive lock will now acquire the exclusive lock before
proceeding.  If this resulted in another client releasing the lock
and re-requesting it, support for exclusive locking might be disabled
while a request is pending.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ExclusiveLock.cc
src/librbd/ImageWatcher.cc