X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=d2cca1182b2b40d271caa2f88a766836448be138;hp=c2a0d4d25efb20fc219cdc391a4b0e7ddf3d0453;hb=ff21745102e2410df4b950ca2ff774ad5ea717d1;hpb=bb0675581dc0a2e8133a6cbfa609b976b97d54ba diff --git a/fio.h b/fio.h index c2a0d4d2..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" @@ -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;