From: Venky Shankar Date: Tue, 11 Mar 2025 10:01:21 +0000 (+0000) Subject: add debug X-Git-Tag: testing/wip-vshankar-testing-20250311.100342-debug^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f25bc06e8392908a7fcbef0798fa6f77eece1b23;p=ceph-ci.git add debug Signed-off-by: Venky Shankar --- diff --git a/src/tools/cephfs_mirror/PeerReplayer.cc b/src/tools/cephfs_mirror/PeerReplayer.cc index 639d1f94829..b12dfe8685b 100644 --- a/src/tools/cephfs_mirror/PeerReplayer.cc +++ b/src/tools/cephfs_mirror/PeerReplayer.cc @@ -1359,6 +1359,9 @@ int PeerReplayer::SnapDiffSync::init_sync() { return r; } + dout(20) << ": open_snapdiff for dir_root=" << m_dir_root << ", path=., prev=" + << (*m_prev).first << ", current=" << m_current.first << dendl; + ceph_snapdiff_info info; r = ceph_open_snapdiff(m_local, m_dir_root.c_str(), ".", stringify((*m_prev).first).c_str(), stringify(m_current.first).c_str(), &info); @@ -1469,6 +1472,9 @@ int PeerReplayer::SnapDiffSync::get_entry(std::string *epath, struct ceph_statx } if (S_ISDIR(estx.stx_mode)) { + dout(20) << ": open_snapdiff for dir_root=" << m_dir_root << ", path=" << _epath + << ", prev=" << (*m_prev).first << ", current=" << m_current.first << dendl; + ceph_snapdiff_info info; r = ceph_open_snapdiff(m_local, m_dir_root.c_str(), _epath.c_str(), stringify((*m_prev).first).c_str(), stringify(m_current.first).c_str(), &info);