]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: dump which fs is used by client for multiple-fs 38551/head
authorZhi Zhang <willzzhang@tencent.com>
Mon, 16 Nov 2020 10:01:40 +0000 (18:01 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Sat, 12 Dec 2020 00:14:02 +0000 (16:14 -0800)
Fixes: https://tracker.ceph.com/issues/48246
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit 8daff24c2be2a7c54e569d0abf964986d9a472d4)

Conflicts:
src/client/Client.cc: surrounding changes unrelated

src/client/Client.cc

index e34c99b2f49d808e577fe4f1b64aaaceea388ffe..d8271c2add8a8cc627b349256af9bd2ab6710e7d 100755 (executable)
@@ -468,6 +468,7 @@ void Client::dump_status(Formatter *f)
     f->dump_int("osd_epoch", osd_epoch);
     f->dump_int("osd_epoch_barrier", cap_epoch_barrier);
     f->dump_bool("blacklisted", blacklisted);
+    f->dump_string("fs_name", mdsmap->get_fs_name());
   }
 }