[Devel] [PATCH RHEL8 COMMIT] fs/fuse kio: show latency in cs_stats properly
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Sep 24 11:27:59 MSK 2020
The commit is pushed to "branch-rh8-4.18.0-193.6.3.vz8.4.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-193.6.3.vz8.4.7
------>
commit 6c03e749f0ee6c53ce856dd330d23fc3e44348be
Author: Ildar Ismagilov <Ildar.Ismagilov at acronis.com>
Date: Thu Aug 6 09:49:44 2020 +0300
fs/fuse kio: show latency in cs_stats properly
The positions of net and io latency in cs_stats file are brought
into line with header.
The header of cs_stats:
csid rpc rd_ops wr_ops sync_ops net_lat io_lat avg_in_flight
Signed-off-by: Ildar Ismagilov <Ildar.Ismagilov at acronis.com>
Acked-by: Alexey Kuznetsov <Alexey.Kuznetsov at acronis.com>
(cherry picked from commit 0141bdae4e7b18e4866161552f36e9b11c7d88f8)
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
fs/fuse/kio/pcs/fuse_stat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fuse/kio/pcs/fuse_stat.c b/fs/fuse/kio/pcs/fuse_stat.c
index 2e3ca243409c..14acd69880d9 100644
--- a/fs/fuse/kio/pcs/fuse_stat.c
+++ b/fs/fuse/kio/pcs/fuse_stat.c
@@ -358,8 +358,8 @@ static int do_show_cs_stats(struct pcs_cs *cs, void *ctx)
read_ops_rate.rate / STAT_TIMER_PERIOD,
write_ops_rate.rate / STAT_TIMER_PERIOD,
sync_ops_rate.rate / STAT_TIMER_PERIOD);
- latency_percl_print(&iolat, m);
latency_percl_print(&netlat, m);
+ latency_percl_print(&iolat, m);
seq_printf(m, "%-10u\n", in_flight_avg);
return 0;
}
More information about the Devel
mailing list