]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: remove exclusive-lock requirement from snapshot purge
authorJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 02:47:49 +0000 (22:47 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 23:23:02 +0000 (19:23 -0400)
commit0e33f1c9ed3643adf274f1733882aa539bee5d98
tree3c4d4bc644e687e39997d953d3cbc38b97afa44a
parentefcc8d14612487b5426fa5ab6f8f502760c4e697
rbd-mirror: remove exclusive-lock requirement from snapshot purge

When using snapshot-based mirroring, there shouldn't be any need to
force the use of the exclusive-lock feature.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/image_deleter/test_mock_SnapshotPurgeRequest.cc
src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.cc
src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.h