]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: force 'invalid object map' flag on-disk update
authorMykola Golub <mgolub@suse.com>
Wed, 6 Jun 2018 20:48:07 +0000 (23:48 +0300)
committerMykola Golub <mgolub@suse.com>
Wed, 6 Jun 2018 20:48:07 +0000 (23:48 +0300)
commitf087db5709223f18da87a65b0c309342db1a84d5
tree8b3985d90b1a558534a98293ee2854787f16fd90
parent43e70324188e483c8c0e3cef479db8a2bf425dd3
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>
src/librbd/object_map/RefreshRequest.cc
src/test/librbd/test_ObjectMap.cc