]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs_mirror: Handle shutdown/blocklist/cancel at syncm dataq wait
authorKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 15:40:08 +0000 (21:10 +0530)
committerKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 20:03:28 +0000 (01:33 +0530)
commit6390662a9fd30c6cd68897715f4489d2db2d763a
treee61febadab82ac9a13669289d7430638e042d98e
parent2de3fcd3d6fc1f349293d2a02f1adcde3e7e0332
tools/cephfs_mirror: Handle shutdown/blocklist/cancel at syncm dataq wait

1. Add is_stopping() predicate at sdq_cv wait
2. Use the existing should_backoff() routine to validate
   shutdown/blocklsit/cancel errors and set corresponding errors.
3. Handle notify logic at the end
4. In shutdown(), notify all syncm's sdq_cv wait

Fixes: https://tracker.ceph.com/issues/73452
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/tools/cephfs_mirror/PeerReplayer.cc
src/tools/cephfs_mirror/PeerReplayer.h