ceph: track average r/w/m latency
authorVenky Shankar <vshankar@redhat.com>
Tue, 8 Mar 2022 12:42:17 +0000 (07:42 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 21 Mar 2022 12:35:16 +0000 (13:35 +0100)
commit367290e6355ce13c17d17f3ec1075beb7ca3224a
treed7070336e2127c775ee163ce696f02da7e1117cc
parent8d728c769fd8e5aaaea36288741a4e3493111816
ceph: track average r/w/m latency

Make the math a bit simpler to understand (should not
affect execution speeds).

Signed-off-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/metric.c
fs/ceph/metric.h