From 367290e6355ce13c17d17f3ec1075beb7ca3224a Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Tue, 8 Mar 2022 07:42:17 -0500 Subject: 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 Reviewed-by: Xiubo Li Signed-off-by: Ilya Dryomov --- fs/ceph/metric.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/ceph/metric.h') diff --git a/fs/ceph/metric.h b/fs/ceph/metric.h index 5b2bb2897056..c47ba0074e49 100644 --- a/fs/ceph/metric.h +++ b/fs/ceph/metric.h @@ -137,6 +137,7 @@ struct ceph_metric { u64 size_min; u64 size_max; ktime_t latency_sum; + ktime_t latency_avg; ktime_t latency_sq_sum; ktime_t latency_min; ktime_t latency_max; -- cgit v1.2.3-58-ga151