Skip to content

Commit 23b3a55

Browse files
Merge pull request ceph#53611 from Patty8122/adding-useful-print
mds: Include more information in print statement in MDSRank.cc Reviewed-by: Greg Farnum <[email protected]> Reviewed-by: Anthony D'Atri <[email protected]> Reviewed-by: Dhairya Parmar <[email protected]> Reviewed-by: Rishabh Dave <[email protected]>
2 parents 32593ed + eace0b1 commit 23b3a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mds/MDSRank.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3187,7 +3187,7 @@ void MDSRank::command_dump_tree(const cmdmap_t &cmdmap, std::ostream &ss, Format
31873187
std::lock_guard l(mds_lock);
31883188
CInode *in = mdcache->cache_traverse(filepath(root.c_str()));
31893189
if (!in) {
3190-
ss << "root inode is not in cache";
3190+
ss << "inode for path '" << filepath(root.c_str()) << "' is not in cache";
31913191
return;
31923192
}
31933193
f->open_array_section("inodes");

0 commit comments

Comments
 (0)