diff options
author | Jens Axboe <axboe@kernel.dk> | 2012-02-10 19:30:23 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-02-10 19:30:23 +0100 |
commit | f1d64553c9dc0e99c038cf3a5f0cb2a50026e7d3 (patch) | |
tree | d4e568854377ef46279dcb9cbedd1677e4dfbbe8 /diskutil.c | |
parent | 97b007ec1428ae434790d64cf528a9b101d1265d (diff) | |
download | fio-f1d64553c9dc0e99c038cf3a5f0cb2a50026e7d3.tar.gz |
Slave aggregate output format fix
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'diskutil.c')
-rw-r--r-- | diskutil.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -540,10 +540,10 @@ void print_disk_util(struct disk_util_stat *dus, struct disk_util_agg *agg, if (util > 100.0) util = 100.0; - if (agg->slavecount) - log_info(" "); - if (!terse) { + if (agg->slavecount) + log_info(" "); + log_info(" %s: ios=%u/%u, merge=%u/%u, ticks=%u/%u, " "in_queue=%u, util=%3.2f%%", dus->name, dus->ios[0], dus->ios[1], @@ -562,8 +562,7 @@ void print_disk_util(struct disk_util_stat *dus, struct disk_util_agg *agg, * If the device has slaves, aggregate the stats for * those slave devices also. */ - if (agg->slavecount) - show_agg_stats(agg, terse); + show_agg_stats(agg, terse); if (!terse) log_info("\n"); |