]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: notifications should be flushed between exclusive lock states
authorJason Dillaman <dillaman@redhat.com>
Wed, 17 Feb 2016 02:43:03 +0000 (21:43 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 18 Feb 2016 22:46:34 +0000 (17:46 -0500)
commit7e09cb132beb0a6dcbaa06dae42c7b9d468a745b
tree7579c1cda10dfb38adfba452643d5d6876272746
parent3d8d9da3488d21c1a2a77636ce658dcfbbd7f999
librbd: notifications should be flushed between exclusive lock states

Avoid leaving in-flight notification messages when transitioning lock
states.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
18 files changed:
src/librbd/ExclusiveLock.cc
src/librbd/ImageCtx.cc
src/librbd/ImageWatcher.cc
src/librbd/WatchNotifyTypes.cc
src/librbd/WatchNotifyTypes.h
src/librbd/exclusive_lock/AcquireRequest.cc
src/librbd/exclusive_lock/AcquireRequest.h
src/librbd/exclusive_lock/ReleaseRequest.cc
src/librbd/exclusive_lock/ReleaseRequest.h
src/librbd/image_watcher/Notifier.cc
src/librbd/image_watcher/Notifier.h
src/librbd/operation/SnapshotCreateRequest.cc
src/test/librbd/exclusive_lock/test_mock_AcquireRequest.cc
src/test/librbd/exclusive_lock/test_mock_ReleaseRequest.cc
src/test/librbd/image/test_mock_RefreshRequest.cc
src/test/librbd/mock/MockImageWatcher.h
src/test/librbd/test_ImageWatcher.cc
src/test/librbd/test_mock_ExclusiveLock.cc