]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: removed 'ImageCtx::object_map_lock'
authorJason Dillaman <dillaman@redhat.com>
Tue, 23 Apr 2019 14:22:30 +0000 (10:22 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 28 Apr 2019 13:15:20 +0000 (09:15 -0400)
commite1fe6d5a6a69559433c3fed792261d183e3bd094
tree1377b7a48d15d0272c8f7ae441cf4261fad86eb0
parenta8882932e7be741cf7de807a5a67154c94abf42e
librbd: removed 'ImageCtx::object_map_lock'

The 'image_lock' now protects the 'object_map' pointer and
the contents of the object-map itself are protected by a
private lock.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
14 files changed:
src/librbd/DeepCopyRequest.cc
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/deep_copy/ObjectCopyRequest.cc
src/librbd/io/CopyupRequest.cc
src/librbd/io/ObjectRequest.cc
src/librbd/operation/ObjectMapIterate.cc
src/librbd/operation/SnapshotCreateRequest.cc
src/librbd/operation/SnapshotRemoveRequest.cc
src/librbd/operation/SnapshotRollbackRequest.cc
src/librbd/operation/SparsifyRequest.cc
src/librbd/operation/TrimRequest.cc
src/test/librbd/mock/MockImageCtx.h
src/test/librbd/test_internal.cc