From: Kotresh HR Date: Thu, 20 Feb 2025 11:01:42 +0000 (+0530) Subject: mds: Log referent_inodes list with CInode X-Git-Tag: v20.3.0~377^2~40 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1bb435d4a2a74bf49750012f12702bfa69f22800;p=ceph.git mds: Log referent_inodes list with CInode Fixes: https://tracker.ceph.com/issues/54205 Signed-off-by: Kotresh HR --- diff --git a/src/mds/CInode.cc b/src/mds/CInode.cc index 57041fcce8ab..37892fabca2c 100644 --- a/src/mds/CInode.cc +++ b/src/mds/CInode.cc @@ -214,8 +214,10 @@ ostream& operator<<(ostream& out, const CInode& in) } } else { out << " s=" << in.get_inode()->size; - if (in.get_inode()->nlink != 1) + if (in.get_inode()->nlink != 1) { out << " nl=" << in.get_inode()->nlink; + out << " referent_inodes=" << std::hex << in.get_inode()->referent_inodes; + } } // rstat