From: Jens Axboe Date: Mon, 30 Nov 2015 23:06:22 +0000 (-0700) Subject: stat: use DDIR_RWDIR_CNT instead of hardwired '3' X-Git-Tag: fio-2.2.13~62 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=de5cdfea341ffb027d6c2e9ebc147145c3c23372;p=fio.git stat: use DDIR_RWDIR_CNT instead of hardwired '3' Signed-off-by: Jens Axboe --- diff --git a/stat.h b/stat.h index 02835112..42649438 100644 --- a/stat.h +++ b/stat.h @@ -183,9 +183,9 @@ struct thread_stat { uint32_t io_u_plat[DDIR_RWDIR_CNT][FIO_IO_U_PLAT_NR]; uint32_t pad; - uint64_t total_io_u[3]; - uint64_t short_io_u[3]; - uint64_t drop_io_u[3]; + uint64_t total_io_u[DDIR_RWDIR_CNT]; + uint64_t short_io_u[DDIR_RWDIR_CNT]; + uint64_t drop_io_u[DDIR_RWDIR_CNT]; uint64_t total_submit; uint64_t total_complete;