]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Sun, 22 Feb 2026 18:56:35 +0000 (00:26 +0530)
commitf6a6e781b887b01a640d6321a2c085577d9ba07e
treea078dbd28fd938c45f6879c58d8cd6d592972d51
parent6547e06a7b8456154c373d5238da0a77b35093ca
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