]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: block RPC requests while updating features 8817/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 Apr 2016 16:48:59 +0000 (12:48 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 28 Apr 2016 17:00:04 +0000 (13:00 -0400)
commitdb7aaff0f6d7a57e2b36d22b609f915f9b2b3893
tree4940c5c816cf20435ce563c62b1d922cb72d3cef
parented132a1eb10e6b2eb4bc465658eb0379daca3d67
librbd: block RPC requests while updating features

Disabling the journal and object map require acquiring the exclusive
lock locally.  We don't want to start executing long-running ops
for this quick process.

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