]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: Integrate librbd with new exclusive lock feature
authorJason Dillaman <dillaman@redhat.com>
Wed, 8 Oct 2014 12:41:53 +0000 (08:41 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 13 Jan 2015 01:01:19 +0000 (20:01 -0500)
commitccadff1445ce8525e4c2419dca63683f0bc1c113
treeee491f889cf762c69952fa4d3569631a29dd61cd
parentf5668d6b9d90989dbb27c241f4e69a00b4e56e2c
librbd: Integrate librbd with new exclusive lock feature

Operations that update the image now require the exclusive lock
if the feature is enabled.  AIO write and discard operations will
automatically request the exclusive lock from the current leader
to support live-migration.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioCompletion.h
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/librbd.cc
src/test/pybind/test_rbd.py