]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: avoid unnecessary sleeping in stop_mirror()
authorIlya Dryomov <idryomov@gmail.com>
Tue, 27 Jan 2026 20:56:23 +0000 (21:56 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 1 Feb 2026 21:38:02 +0000 (22:38 +0100)
commit1ad65706faad10a3b157e58b5ab874b8bb16e263
tree8365fe308f99394f280e392cf09e10d49769b65e
parentcad567149a0ef348e9a7088bb3cc5b54e450662b
qa/workunits/rbd: avoid unnecessary sleeping in stop_mirror()

There is no need to wait for anything if -KILL is passed for sig
because the process would disappear immediately.  In teuthology runs
where multiple rbd-mirror daemons are deployed (and therefore need to
be stopped when stop_mirrors() is called by the test), it causes
gratuitous delays of 4+ seconds.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit f18fe5d15f72e34ab74b8ae187a47b52883fc780)
qa/workunits/rbd/rbd_mirror_helpers.sh