]> 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>
Sun, 15 Feb 2026 04:00:25 +0000 (09:30 +0530)
committerKotresh HR <khiremat@redhat.com>
Tue, 17 Feb 2026 20:10:51 +0000 (01:40 +0530)
commit9f9fee66820d229c2b755d906fa6bdae290aaf0a
treeb28c5d0a5020dbc28927ae52a346c83dcf49390a
parent6ce5437e67c9ed1af3ea1f92358816dc3aa81c06
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