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>
(cherry picked from commit
876bdcf2def0db9c197f200cdfc05e2255f24bf4)
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());