]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: refresh image after acquiring exclusive lock
authorJason Dillaman <dillaman@redhat.com>
Thu, 2 Jun 2016 03:19:20 +0000 (23:19 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Jun 2016 18:04:04 +0000 (14:04 -0400)
commit680efbdcc3d2e28b6de991e7ad5c18e0d71cc551
tree6743f7f86eda2da925970a90cf5d164ac24ff75f
parentb328e998b2aa066f5f42577abd0c74a5f3d42694
librbd: refresh image after acquiring exclusive lock

It's possible that the object map or journaling features have
been disabled while the lock was not owned.

Fixes: http://tracker.ceph.com/issues/16114
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 03c54f52d15d6283c630bac6f75427e6829f7d0a)
src/librbd/exclusive_lock/AcquireRequest.cc
src/librbd/exclusive_lock/AcquireRequest.h
src/test/librbd/exclusive_lock/test_mock_AcquireRequest.cc