]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: add a perf counter to record slow replies 46156/head
authorhaoyixing <haoyixing@kuaishou.com>
Fri, 25 Mar 2022 03:02:13 +0000 (03:02 +0000)
committerNikhilkumar Shelke <nshelke@redhat.com>
Thu, 5 May 2022 06:35:41 +0000 (12:05 +0530)
commita957d231bace0143d786ae696ff8dbcd5ee70f52
tree9002b23c6a00a7f3d35a6c8e20a71d89cf03aeed
parent8c92d5ab72faf13ec77dabf37bb56cb24f9398e5
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>
(cherry picked from commit e8e3b307c87dc9eec2d087b396c0e7a0248b4f1d)
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/Server.cc