]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs_mirror: Make PeerReplayer::m_stopping atomic
authorKotresh HR <khiremat@redhat.com>
Sun, 15 Feb 2026 03:09:54 +0000 (08:39 +0530)
committerKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 20:12:39 +0000 (01:42 +0530)
commit5865160d4f2bd47dd0ea03beb615c97fdd84356a
tree548418ee381233aaadca2be8ad884ba46081b106
parentd22201bd44f46cc52677eaedde7a994f8494555f
tools/cephfs_mirror: Make PeerReplayer::m_stopping atomic

Make PeerReplayer::m_stopping as std::<atomic> and make it
independant of m_lock. This helps 'm_stopping' to be used
as predicate in any conditional wait which doesn't use
m_lock.

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