summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-08-24 11:31:28 -0700
committerJens Axboe <axboe@kernel.dk>2018-08-24 12:54:38 -0600
commitfd5d733fa34cb1c2675bce6af7972f6fc12e60d0 (patch)
tree766ef3eabff5f00a537564cc49bd2e48c420ce98 /stat.h
parentbfbdd35b3e8f7de1bf1f48e7087c04a6b37e9c61 (diff)
downloadfio-fd5d733fa34cb1c2675bce6af7972f6fc12e60d0.tar.gz
fio-fd5d733fa34cb1c2675bce6af7972f6fc12e60d0.tar.bz2
Collect and show zone reset statistics
Show how many zone resets have been performed in the I/O statistics. An example: [ ... ] write: IOPS=17.0k, BW=66.5MiB/s (69.8MB/s)(1024MiB/15387msec); 4 zone resets [ ... ] Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stat.h b/stat.h
index 5dcaae02..98de281e 100644
--- a/stat.h
+++ b/stat.h
@@ -211,6 +211,9 @@ struct thread_stat {
uint32_t first_error;
uint64_t total_err_count;
+ /* ZBD stats */
+ uint64_t nr_zone_resets;
+
uint64_t nr_block_infos;
uint32_t block_infos[MAX_NR_BLOCK_INFOS];