]> 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>
Wed, 4 Feb 2026 08:53:14 +0000 (14:23 +0530)
commit7af108fb8fb42c984b1ba7fbc339f81064cbc8c4
treeb86a068179a515a371b43a42c08796099486ef29
parentd8318c5a2f92952dcf020d73b9cdbb1545a027be
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