]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs_mirror: Store a reference of PeerReplayer object in SyncMechanism
authorKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 14:03:39 +0000 (19:33 +0530)
committerKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 20:12:39 +0000 (01:42 +0530)
commit19767bfc5566fc54fd5822503cc567ca16e2f78c
tree6ecd009b3da5e9c314db801e6a32c2db63f022cb
parent5865160d4f2bd47dd0ea03beb615c97fdd84356a
tools/cephfs_mirror: Store a reference of PeerReplayer object in SyncMechanism

Store a reference of PeerReplayer object in SyncMechanism.
This allows SyncMechansim object to call functions of PeerReplayer.
This is required in multiple places like handling
shutdown/blocklist/cancel where should_backoff() needs to be
called by syncm object while poppig dataq by data sync threads.

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