]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: permit last mirror peer to be removed from mirror snapshot
authorJason Dillaman <dillaman@redhat.com>
Sun, 9 Feb 2020 17:52:06 +0000 (12:52 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Feb 2020 15:36:40 +0000 (10:36 -0500)
commite90ae9c7e209ba4ec33ac497c4e93d43cd8d94d5
tree981cca411a4c0622314253e3d3e67ccae35b7926
parent89e37732f43e17c0163900529c3363f5400c3828
librbd: permit last mirror peer to be removed from mirror snapshot

This applies only in the case where there are no additional mirror
snapshots in order to preserve the current state.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc
src/librbd/mirror/snapshot/UnlinkPeerRequest.cc
src/librbd/mirror/snapshot/UnlinkPeerRequest.h
src/test/cls_rbd/test_cls_rbd.cc
src/test/librbd/mirror/snapshot/test_mock_UnlinkPeerRequest.cc
src/test/librbd/test_mirroring.cc