]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add `importing_count` to session dump
authorZhansong Gao <zhsgao@hotmail.com>
Fri, 26 May 2023 04:25:10 +0000 (12:25 +0800)
committerMilind Changire <mchangir@redhat.com>
Sat, 25 Jan 2025 01:46:43 +0000 (07:16 +0530)
Signed-off-by: Zhansong Gao <zhsgao@hotmail.com>
(cherry picked from commit 79a33025d506c9a90520633492285bc047ef31f5)

src/mds/SessionMap.cc

index 9bec67c245d61e7cb7c7d97b5ec029c9ea309529..296b112f8400ff1d0ace91c450b5e6183ff88a76 100644 (file)
@@ -615,6 +615,7 @@ void Session::dump(Formatter *f, bool cap_dump) const
   f->dump_unsigned("num_completed_requests", get_num_completed_requests());
   f->dump_unsigned("num_completed_flushes", get_num_completed_flushes());
   f->dump_bool("reconnecting", reconnecting);
+  f->dump_int("importing_count", importing_count);
   f->dump_object("recall_caps", recall_caps);
   f->dump_object("release_caps", release_caps);
   f->dump_object("recall_caps_throttle", recall_caps_throttle);