From 36b993bb40deb6048f98b3989662b65d4db7c55d Mon Sep 17 00:00:00 2001 From: Zhi Zhang Date: Wed, 24 May 2017 13:24:31 +0800 Subject: pybind/mgr/fsstatus: use mds_mem.dn as dentry counter Signed-off-by: Zhi Zhang --- src/pybind/mgr/fsstatus/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pybind') 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"), -- cgit v1.2.3