]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: Updating the print statement to include filepath(root.c_str()) 53611/head
authorPatty8122 <divyapattisapu@uchicago.edu>
Fri, 22 Sep 2023 22:37:10 +0000 (17:37 -0500)
committerLaura Flores <lflores@ibm.com>
Fri, 29 Sep 2023 22:26:01 +0000 (22:26 +0000)
Signed-off-by: Patty8122 <divyapattisapu@uchicago.edu>
src/mds/MDSRank.cc

index f93c8d7fd60a5849e3c99150a6062e563f37afd4..984d90267297cd5fe9b1174dc839d587869654e5 100644 (file)
@@ -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");