]> 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)
commitcd4c025190fba07cb604c215094a050610384dd2
treee494d909a6cff5bbffd2404ba5188ed46af2fbd8
parent9ec73083f8eb061dfe4a557801aec07401430767
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