From 06e49041284eb0698f5b4699409a4d63c82b4b98 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Wed, 15 May 2019 16:05:01 -0400 Subject: [PATCH] client: add a newline after terse disk util In client/server mode terse disk utilization output appears at the end of each blob of terse output. We need a newline so that the next blob of terse output starts at the beginning of a line. Signed-off-by: Jens Axboe --- client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index 7fe571ef..43cfbd43 100644 --- a/client.c +++ b/client.c @@ -1224,8 +1224,10 @@ static void handle_du(struct fio_client *client, struct fio_net_cmd *cmd) __log_buf(&client->buf, "\nDisk stats (read/write):\n"); print_disk_util(&du->dus, &du->agg, 0, &client->buf); } - if (output_format & FIO_OUTPUT_TERSE && terse_version >= 3) + if (output_format & FIO_OUTPUT_TERSE && terse_version >= 3) { print_disk_util(&du->dus, &du->agg, 1, &client->buf); + __log_buf(&client->buf, "\n"); + } } static void convert_jobs_eta(struct jobs_eta *je) -- 2.25.1