]> 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>
Tue, 17 Feb 2026 20:10:50 +0000 (01:40 +0530)
commit60dc700154af85ddf77e53f8e2dc4eff830ac7ab
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