diff options
author | Milind Changire <mchangir@redhat.com> | 2024-08-29 09:20:49 +0200 |
---|---|---|
committer | Milind Changire <mchangir@redhat.com> | 2024-09-17 05:02:09 +0200 |
commit | 876bdcf2def0db9c197f200cdfc05e2255f24bf4 (patch) | |
tree | c86d6929abea0a7d022559bd393ccf95f4191d05 /src/mds/CDentry.cc | |
parent | Merge pull request #59066 from xxhdx1985126/wip-67380 (diff) | |
download | ceph-876bdcf2def0db9c197f200cdfc05e2255f24bf4.tar.xz ceph-876bdcf2def0db9c197f200cdfc05e2255f24bf4.zip |
mds: dump next_snap when checking dentry corruption
next_snap is missing from the logs to make sense of the corruption
Fixes: https://tracker.ceph.com/issues/67770
Signed-off-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds/CDentry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/CDentry.cc b/src/mds/CDentry.cc index 942bd9a9ec6..13b59eb8cdc 100644 --- a/src/mds/CDentry.cc +++ b/src/mds/CDentry.cc @@ -724,7 +724,7 @@ bool CDentry::check_corruption(bool load) dout(1) << "loaded already corrupt dentry: " << *this << dendl; corrupt_first_loaded = true; } else { - derr << "newly corrupt dentry to be committed: " << *this << dendl; + derr << "newly corrupt dentry to be committed: " << *this << " with next_snap: " << next_snap << dendl; } if (g_conf().get_val<bool>("mds_go_bad_corrupt_dentry")) { dir->go_bad_dentry(last, get_name()); |