From: Jens Axboe Date: Thu, 25 Jan 2018 23:04:20 +0000 (-0700) Subject: stat: add total fsync ios to json output X-Git-Tag: fio-3.4~12 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=f5ec81235eaf21bd3a97556427d4a84e48a87e54;hp=092dfc6c778d8393256ac210b36ee3e5416080db stat: add total fsync ios to json output Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index 36e06457..a980a1d2 100644 --- a/stat.c +++ b/stat.c @@ -1049,6 +1049,7 @@ static void add_ddir_status_json(struct thread_stat *ts, tmp_object = json_create_object(); json_object_add_value_object(dir_object, "lat_ns", tmp_object); + json_object_add_value_int(dir_object, "total_ios", ts->total_io_u[DDIR_SYNC]); json_object_add_value_int(tmp_object, "min", min); json_object_add_value_int(tmp_object, "max", max); json_object_add_value_float(tmp_object, "mean", mean);