]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: block RPC requests while updating features 8869/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 Apr 2016 16:48:59 +0000 (12:48 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Mon, 2 May 2016 06:42:50 +0000 (12:12 +0530)
commit895c975651b722832befeb829a43acc55823740b
tree6b63f020f1d00bedeecc31a27f620ec4352ad741
parent1f0056a427cd46793934c59c49aa225da2237628
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>
(cherry picked from commit db7aaff0f6d7a57e2b36d22b609f915f9b2b3893)
src/librbd/ExclusiveLock.cc
src/librbd/ExclusiveLock.h
src/librbd/internal.cc