X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=e46a1a353507f057a7fbf7cf80d4e77129c0dcb6;hb=b66570dce15587a37a64685f8ab72c3018771b2b;hp=9d2a61ccedb2883aa00414ce84b80864af9af0c4;hpb=059b080217b86dbf9f3574c4661a1b2300522c79;p=fio.git diff --git a/fio.h b/fio.h index 9d2a61cc..e46a1a35 100644 --- a/fio.h +++ b/fio.h @@ -35,6 +35,7 @@ struct thread_data; #include "time.h" #include "lib/getopt.h" #include "lib/rand.h" +#include "server.h" #ifdef FIO_HAVE_GUASI #include @@ -254,7 +255,7 @@ struct thread_options { unsigned int rw_seq; unsigned int kb_base; unsigned int ddir_seq_nr; - unsigned long ddir_seq_add; + long ddir_seq_add; unsigned int iodepth; unsigned int iodepth_low; unsigned int iodepth_batch; @@ -348,6 +349,7 @@ struct thread_options { enum fio_fallocate_mode fallocate_mode; unsigned int zero_buffers; unsigned int refill_buffers; + unsigned int scramble_buffers; unsigned int time_based; unsigned int disable_lat; unsigned int disable_clat; @@ -413,6 +415,8 @@ struct thread_options { unsigned int gid; unsigned int sync_file_range; + + unsigned int userspace_libaio_reap; }; #define FIO_VERROR_SIZE 128 @@ -458,7 +462,7 @@ struct thread_data { char *sysfs_root; - unsigned long rand_seeds[7]; + unsigned long rand_seeds[8]; union { os_random_state_t bsrange_state; @@ -473,6 +477,8 @@ struct thread_data { struct frand_state __trim_state; }; + struct frand_state buf_state; + unsigned int verify_batch; unsigned int trim_batch; @@ -644,6 +650,9 @@ extern int fio_gtod_offload; extern int fio_gtod_cpu; extern enum fio_cs fio_clock_source; extern int warnings_fatal; +extern int terse_version; +extern int is_backend; +extern int is_client; extern struct thread_data *threads; @@ -684,6 +693,9 @@ static inline int should_fsync(struct thread_data *td) * Init/option functions */ extern int __must_check parse_options(int, char **); +extern int parse_jobs_ini(char *, int, int); +extern int exec_run(void); +extern void reset_fio_state(void); extern int fio_options_parse(struct thread_data *, char **, int); extern void fio_keywords_init(void); extern int fio_cmd_option_parse(struct thread_data *, const char *, char *);