X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=stat.h;h=b4ba71e3b0df3b9131e46132622e5cc4c88de78b;hp=5dcaae029cde28f77efbed623683ec271d04fc76;hb=f1867a7f9e588acf67cf8fa96eab8a6e2fdedcf6;hpb=5fff95436922873dd9ded8b21af7222689e2ec5d diff --git a/stat.h b/stat.h index 5dcaae02..b4ba71e3 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]; @@ -323,7 +326,7 @@ extern void add_sync_clat_sample(struct thread_stat *ts, extern int calc_log_samples(void); extern struct io_log *agg_io_log[DDIR_RWDIR_CNT]; -extern int write_bw_log; +extern bool write_bw_log; static inline bool nsec_to_usec(unsigned long long *min, unsigned long long *max, double *mean,