]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: force 'invalid object map' flag on-disk update 22754/head
authorMykola Golub <mgolub@suse.com>
Wed, 6 Jun 2018 20:48:07 +0000 (23:48 +0300)
committerPrashant D <pdhange@redhat.com>
Thu, 28 Jun 2018 00:56:15 +0000 (20:56 -0400)
commit5ac79612279f98a34bc7e97bfbda2eb2c934be9f
tree3ad87cd50a7c220ca9a23f048493a4cc2bc0854f
parent367447a8e9e03e6f1577a8089567f3bb001ce636
librbd: force 'invalid object map' flag on-disk update

when called by object_map::RefreshRequest. Since we really only open
the object map when we own the exclusive lock.

Fixes: http://tracker.ceph.com/issues/24434
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit f087db5709223f18da87a65b0c309342db1a84d5)
src/librbd/object_map/RefreshRequest.cc
src/test/librbd/test_ObjectMap.cc