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