]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add a perf counter to record slow replies 45631/head
authorhaoyixing <haoyixing@kuaishou.com>
Fri, 25 Mar 2022 03:02:13 +0000 (03:02 +0000)
committerhaoyixing <haoyixing@kuaishou.com>
Thu, 7 Apr 2022 08:11:26 +0000 (08:11 +0000)
commite8e3b307c87dc9eec2d087b396c0e7a0248b4f1d
tree0b569826e3d1178ba3fd1818644d2190bc9e5b37
parent81bb0ec9a83bdf6660dc50f20732218688e89cc0
mds: add a perf counter to record slow replies

Though we have MDS_HEALTH_SLOW_METADATA_IO and MDS_HEALTH_SLOW_REQUEST health alert, but those are not
precise nor accumulated. With slow reply counter compared to reply counter, we can find out the ratio
of slow requests through perf dump.

Fixes: https://tracker.ceph.com/issues/55126
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/Server.cc