summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-04 09:07:01 -0600
committerJens Axboe <axboe@kernel.dk>2018-10-04 09:07:01 -0600
commitf1867a7f9e588acf67cf8fa96eab8a6e2fdedcf6 (patch)
tree0585e7ba23a20b49cf20f1c658c2a2035b0c801b /stat.h
parent8772acb0435c6a378951458d8fd9b18e1ab1add0 (diff)
downloadfio-f1867a7f9e588acf67cf8fa96eab8a6e2fdedcf6.tar.gz
fio-f1867a7f9e588acf67cf8fa96eab8a6e2fdedcf6.tar.bz2
Bool conversions
Just various low hanging fruits in terms of local or global variables that are only 0/1, switch them to boolean. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stat.h b/stat.h
index 98de281e..b4ba71e3 100644
--- a/stat.h
+++ b/stat.h
@@ -326,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,