From eace0b102c48a78a717fa30e58a68796c17b82b6 Mon Sep 17 00:00:00 2001 From: Patty8122 Date: Fri, 22 Sep 2023 17:37:10 -0500 Subject: [PATCH] mds: Updating the print statement to include filepath(root.c_str()) Signed-off-by: Patty8122 --- src/mds/MDSRank.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/MDSRank.cc b/src/mds/MDSRank.cc index f93c8d7fd60a..984d90267297 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"); -- 2.47.3