]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: ignore non-primary read-only state for remote images
authorJason Dillaman <dillaman@redhat.com>
Tue, 7 Apr 2020 23:12:03 +0000 (19:12 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 28 Apr 2020 18:52:10 +0000 (20:52 +0200)
commit0c6812b67d3dac71ab8278adaf4fa0f68f0122d6
tree17293d50582795a5d6330cfcf7d203e949d902b2
parentbb89dd0246a005a7425b7127f7fcbd560fcd9880
rbd-mirror: ignore non-primary read-only state for remote images

snapshot-based mirroring needs to be able to potentially delete a
demotion snapshot during the unlink process. Previously, these
snapshots have been left while the read-only error was ignored.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6bf2132cf041f6ab16c86e46b5acd4cf2ce12060)
src/tools/rbd_mirror/image_replayer/OpenImageRequest.cc