]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: API methods to directly acquire and release the exclusive lock
authorMykola Golub <mgolub@mirantis.com>
Wed, 8 Jun 2016 12:11:02 +0000 (15:11 +0300)
committerJason Dillaman <dillaman@redhat.com>
Mon, 30 Jan 2017 14:20:37 +0000 (09:20 -0500)
commitd4085d34f31fa9eed73d69f241184b99e5198b22
tree3826a762e9c0488a8bfe5b67d80cc4a7adb4e263
parent476e2b14364daa4363425b392199e9cc23c2f02b
librbd: API methods to directly acquire and release the exclusive lock

Fixes: http://tracker.ceph.com/issues/15632
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 8f1b47fd5da021ec320fd0b5fc0fd68ffff8a706)

Conflicts:
src/common/config_opts.h: trivial resolution
src/include/rbd/librbd.h: trivial resolution
src/librbd/CMakeLists.txt: trivial resolution
src/librbd/Makefile.am: trivial resolution
src/test/librbd/test_librbd.cc: trivial resolution
19 files changed:
src/common/config_opts.h
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/AioImageRequestWQ.cc
src/librbd/CMakeLists.txt
src/librbd/ImageCtx.cc
src/librbd/ImageWatcher.cc
src/librbd/Makefile.am
src/librbd/exclusive_lock/AutomaticPolicy.cc [new file with mode: 0644]
src/librbd/exclusive_lock/AutomaticPolicy.h [new file with mode: 0644]
src/librbd/exclusive_lock/Policy.h
src/librbd/exclusive_lock/StandardPolicy.cc
src/librbd/exclusive_lock/StandardPolicy.h
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/librbd.cc
src/test/librbd/test_librbd.cc
src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc
src/tracing/librbd.tp