From: Patty8122 Date: Fri, 22 Sep 2023 22:37:10 +0000 (-0500) Subject: mds: Updating the print statement to include filepath(root.c_str()) X-Git-Tag: v19.0.0~183^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eace0b102c48a78a717fa30e58a68796c17b82b6;p=ceph-ci.git mds: Updating the print statement to include filepath(root.c_str()) Signed-off-by: Patty8122 --- diff --git a/src/mds/MDSRank.cc b/src/mds/MDSRank.cc index f93c8d7fd60..984d9026729 100644 --- a/src/mds/MDSRank.cc +++ b/src/mds/MDSRank.cc @@ -3183,7 +3183,7 @@ void MDSRank::command_dump_tree(const cmdmap_t &cmdmap, std::ostream &ss, Format std::lock_guard l(mds_lock); CInode *in = mdcache->cache_traverse(filepath(root.c_str())); if (!in) { - ss << "root inode is not in cache"; + ss << "inode for path '" << filepath(root.c_str()) << "' is not in cache"; return; } f->open_array_section("inodes");