]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit70c948206f0616c7e46130a26165b6a5d98bade4
treee494d909a6cff5bbffd2404ba5188ed46af2fbd8
parent97e27aaa9a2cbd6238c66b3251d397e0eacc9968
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