]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.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>
Wed, 28 Jan 2026 14:01:54 +0000 (15:01 +0100)
commitf18fe5d15f72e34ab74b8ae187a47b52883fc780
treef559778042bcb791a8bbab9ec3c11d7a65a35b99
parenta0bd2655003e8fe33675c6afbed793885698b2bc
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>
qa/workunits/rbd/rbd_mirror_helpers.sh