]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: manual stop should take precedence over regular stop
authorIlya Dryomov <idryomov@gmail.com>
Sun, 20 Feb 2022 12:11:02 +0000 (13:11 +0100)
committerPonnuvel Palaniyappan <pponnuvel@gmail.com>
Wed, 11 May 2022 06:18:12 +0000 (07:18 +0100)
commit33a484bb879939b0ee6a94e26705fb337ff54f6c
tree38a01a799fe522615c7cdbe75ececb38df43307f
parent862065ded9e80f9474628f097976a4ede7c2517f
rbd-mirror: manual stop should take precedence over regular stop

Somewhat similar to commit 0a3794e56256 ("rbd-mirror: make stop
properly cancel restart"), make it so that a) if a manual stop is
joined to regular stop, the stop becomes manual and b) if a regular
stop is joined to a manual stop, the stop stays manual.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit c5b5787349e91a0fd23cd6d5e73b2a383ddd8687)
src/tools/rbd_mirror/ImageReplayer.cc