X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=d2cca1182b2b40d271caa2f88a766836448be138;hp=28104cd83b376f13fc10388df8b1cd73b20e68cd;hb=74586c1efe37b4eac189cd8dd1eb00e96babce3f;hpb=1ec3d69b0ed8cc7a3eba0192685034d5442989e4 diff --git a/fio.h b/fio.h index 28104cd8..d2cca118 100644 --- a/fio.h +++ b/fio.h @@ -14,6 +14,8 @@ #include #include +struct thread_data; + #include "compiler/compiler.h" #include "flist.h" #include "fifo.h" @@ -71,7 +73,7 @@ enum { /* * How many depth levels to log */ -#define FIO_IO_U_MAP_NR 8 +#define FIO_IO_U_MAP_NR 7 #define FIO_IO_U_LAT_U_NR 10 #define FIO_IO_U_LAT_M_NR 12 @@ -126,7 +128,7 @@ struct thread_stat { unsigned long total_complete; unsigned long long io_bytes[2]; - unsigned long runtime[2]; + unsigned long long runtime[2]; unsigned long total_run_time; /* @@ -195,6 +197,7 @@ struct thread_options { char verify_pattern[MAX_PATTERN_SIZE]; unsigned int verify_pattern_bytes; unsigned int verify_fatal; + unsigned int verify_dump; unsigned int verify_async; unsigned long long verify_backlog; unsigned int verify_batch; @@ -217,6 +220,7 @@ struct thread_options { unsigned int thinktime_blocks; unsigned int fsync_blocks; unsigned int fdatasync_blocks; + unsigned int barrier_blocks; unsigned long start_delay; unsigned long long timeout; unsigned long long ramp_time; @@ -518,6 +522,7 @@ extern char *job_section; extern int fio_gtod_offload; extern int fio_gtod_cpu; extern enum fio_cs fio_clock_source; +extern int warnings_fatal; extern struct thread_data *threads;