summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhi Zhang <willzzhang@tencent.com>2017-05-24 07:24:31 +0200
committerZhi Zhang <willzzhang@tencent.com>2017-05-24 07:24:31 +0200
commit36b993bb40deb6048f98b3989662b65d4db7c55d (patch)
tree5e9912558ad69d25277ceea7f2cc4a134b429c85
parentMerge pull request #15238 from xiexingguo/wip-fix-blue-mkfs (diff)
downloadceph-36b993bb40deb6048f98b3989662b65d4db7c55d.tar.xz
ceph-36b993bb40deb6048f98b3989662b65d4db7c55d.zip
pybind/mgr/fsstatus: use mds_mem.dn as dentry counter
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
-rw-r--r--src/pybind/mgr/fsstatus/module.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pybind/mgr/fsstatus/module.py b/src/pybind/mgr/fsstatus/module.py
index 0db7ee750dd..74d669b58ba 100644
--- a/src/pybind/mgr/fsstatus/module.py
+++ b/src/pybind/mgr/fsstatus/module.py
@@ -122,7 +122,7 @@ class Module(MgrModule):
if up:
gid = mdsmap['up']["mds_{0}".format(rank)]
info = mdsmap['info']['gid_{0}'.format(gid)]
- dns = self.get_latest("mds", info['name'], "mds.inodes")
+ dns = self.get_latest("mds", info['name'], "mds_mem.dn")
inos = self.get_latest("mds", info['name'], "mds_mem.ino")
if rank == 0:
@@ -175,7 +175,7 @@ class Module(MgrModule):
continue
inos = self.get_latest("mds", daemon_info['name'], "mds_mem.ino")
- dns = self.get_latest("mds", daemon_info['name'], "mds.inodes")
+ dns = self.get_latest("mds", daemon_info['name'], "mds_mem.dn")
activity = "Evts: " + self.format_dimless(
self.get_rate("mds", daemon_info['name'], "mds_log.replay"),