]> 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 20:12:39 +0000 (01:42 +0530)
commit88436dc7685033c2cc078b89a9c1aff2ca5721e0
treee164514541a8f5470aad74e8cf7c61014d775f78
parentce0fe273eb49971cff0ed45251b9fb3400ac1daf
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