From: Jens Axboe Date: Fri, 23 Mar 2012 07:15:46 +0000 (+0100) Subject: Fix reversal of IOPS and BW graphs X-Git-Tag: gfio-0.1~54 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=75450781fef7fd1d48742dc3a791f0f1119c675c Fix reversal of IOPS and BW graphs Commit 8dfd6071 inadvertently mixed them up, restore original behaviour. Signed-off-by: Jens Axboe --- diff --git a/gfio.c b/gfio.c index 8fd57393..b91ef064 100644 --- a/gfio.c +++ b/gfio.c @@ -89,7 +89,7 @@ static void setup_iops_graph(struct gfio_graphs *gg) line_graph_set_data_count_limit(g, gfio_graph_limit); graph_add_extra_space(g, 0.0, 0.0, 0.0, 0.0); graph_set_graph_all_zeroes(g, 0); - gg->bandwidth_graph = g; + gg->iops_graph = g; } static void setup_bandwidth_graph(struct gfio_graphs *gg) @@ -107,7 +107,7 @@ static void setup_bandwidth_graph(struct gfio_graphs *gg) line_graph_set_data_count_limit(g, 100); graph_add_extra_space(g, 0.0, 0.0, 0.0, 0.0); graph_set_graph_all_zeroes(g, 0); - gg->iops_graph = g; + gg->bandwidth_graph = g; } static void setup_graphs(struct gfio_graphs *g)