]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: add metadata perf metric support
authorXiubo Li <xiubli@redhat.com>
Fri, 20 Mar 2020 03:45:02 +0000 (23:45 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 1 Jun 2020 11:22:51 +0000 (13:22 +0200)
commit58665ed234de4a25b9b32f6c6873c36422124eb5
treee494d909a6cff5bbffd2404ba5188ed46af2fbd8
parent731ce87a2886e71485764fced1dba6f46ec9c88f
ceph: add metadata perf metric support

Add a new "r_ended" field to struct ceph_mds_request and use that to
maintain the average latency of MDS requests.

URL: https://tracker.ceph.com/issues/43215
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/debugfs.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/metric.c
fs/ceph/metric.h