X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=6da22f039c8b1216762ec7ae349fb66b0d5bf229;hb=885ac623a4f154007efa49266bb381bcbc60f1e6;hp=9eb09b2c325f89282436102becff5a7c12be2111;hpb=2e1df07d1ea30e0304cc65370f3ed161a6f22cd4;p=fio.git diff --git a/fio.h b/fio.h index 9eb09b2c..6da22f03 100644 --- a/fio.h +++ b/fio.h @@ -33,10 +33,12 @@ struct thread_data; #include "options.h" #include "profile.h" #include "time.h" +#include "gettime.h" #include "lib/getopt.h" #include "lib/rand.h" #include "server.h" #include "stat.h" +#include "flow.h" #ifdef FIO_HAVE_GUASI #include @@ -192,6 +194,8 @@ struct thread_options { unsigned int zero_buffers; unsigned int refill_buffers; unsigned int scramble_buffers; + unsigned int compress_percentage; + unsigned int compress_chunk; unsigned int time_based; unsigned int disable_lat; unsigned int disable_clat; @@ -257,6 +261,13 @@ struct thread_options { unsigned int uid; unsigned int gid; + int flow_id; + int flow; + int flow_watermark; + unsigned int flow_sleep; + + unsigned long long offset_increment; + unsigned int sync_file_range; }; @@ -299,6 +310,7 @@ struct thread_data { struct frand_state __next_file_state; }; int error; + int sig; int done; pid_t pid; char *orig_buffer; @@ -469,6 +481,8 @@ struct thread_data { unsigned int total_err_count; int first_error; + struct fio_flow *flow; + /* * Can be overloaded by profiles */ @@ -514,7 +528,7 @@ extern int groupid; extern int terse_output; extern int temp_stall_ts; extern unsigned long long mlock_size; -extern unsigned long page_mask, page_size; +extern uintptr_t page_mask, page_size; extern int read_only; extern int eta_print; extern unsigned long done_secs;