]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs_mirror: Use the existing m_lock and m_cond
authorKotresh HR <khiremat@redhat.com>
Wed, 14 Jan 2026 08:27:34 +0000 (13:57 +0530)
committerKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 07:34:21 +0000 (13:04 +0530)
commit2984ff79f322fedc1a3aa1eba9fb2ad45c524768
treede8288147739ef4952f7edd71a548e2105e66d35
parent6f4d918cdbe9fe0bd9ccbc753103f13a100487e4
tools/cephfs_mirror: Use the existing m_lock and m_cond

The entire snapshot is synced outside the lock.
The m_lock and m_cond pair is used for data sync
threads along with crawler threads to work well
with all terminal conditions like shutdown and
existing data structures.

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