]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: removed 'ImageCtx::md_lock'
authorJason Dillaman <dillaman@redhat.com>
Fri, 19 Apr 2019 18:46:02 +0000 (14:46 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 28 Apr 2019 13:15:19 +0000 (09:15 -0400)
commitd1eb013fc94855f9c3beb39386d9cf3872e7010f
tree251691f5e733f8ea17a77242a40e25054a894303
parent236ffa31812ceadfdcb8926785f305163a153f3b
librbd: removed 'ImageCtx::md_lock'

This lock used to protect the IO pathway to prevent writes but
that is now handled by the io::ImageRequestWQ. Additional
historical uses have been temporarily moved to the
'ImageCtx::image_lock'

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
12 files changed:
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/api/DiffIterate.cc
src/librbd/image/RefreshRequest.cc
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/io/ImageRequest.cc
src/librbd/operation/SnapshotLimitRequest.cc
src/librbd/operation/SnapshotProtectRequest.cc
src/librbd/operation/SnapshotRenameRequest.cc
src/librbd/operation/SnapshotUnprotectRequest.cc
src/test/librbd/mock/MockImageCtx.h