]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't hold owner lock while refreshing image synchronously 7668/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 18 Feb 2016 22:58:28 +0000 (17:58 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 18 Feb 2016 22:58:28 +0000 (17:58 -0500)
commit4f15332db307b138444b007d13b5670c141b1d18
tree02cbfe305c7122174df133ef3ee4d2f05e3f561e
parent4ecdf066fdd75d19a5d84d1701672bc2515f6547
librbd: don't hold owner lock while refreshing image synchronously

The write lock will be taken when the new state is applied.

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