Style fixup
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 67663515ee9a939089b77141a703f6c3b20bf3ab..db0a417fcfb4910b193546b7c10bd81e30a2904f 100644 (file)
--- 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 <guasi.h>
@@ -210,14 +211,14 @@ struct thread_stat {
         * IO depth and latency stats
         */
        unsigned int clat_percentiles;
-       doublepercentile_list;
+       double *percentile_list;
 
        unsigned int io_u_map[FIO_IO_U_MAP_NR];
        unsigned int io_u_submit[FIO_IO_U_MAP_NR];
        unsigned int io_u_complete[FIO_IO_U_MAP_NR];
        unsigned int io_u_lat_u[FIO_IO_U_LAT_U_NR];
        unsigned int io_u_lat_m[FIO_IO_U_LAT_M_NR];
-       unsigned int io_u_plat [2][FIO_IO_U_PLAT_NR];
+       unsigned int io_u_plat[2][FIO_IO_U_PLAT_NR];
        unsigned long total_io_u[3];
        unsigned long short_io_u[3];
        unsigned long total_submit;
@@ -254,6 +255,7 @@ struct thread_options {
        unsigned int rw_seq;
        unsigned int kb_base;
        unsigned int ddir_seq_nr;
+       long ddir_seq_add;
        unsigned int iodepth;
        unsigned int iodepth_low;
        unsigned int iodepth_batch;
@@ -347,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;
@@ -412,6 +415,8 @@ struct thread_options {
        unsigned int gid;
 
        unsigned int sync_file_range;
+
+       unsigned int userspace_libaio_reap;
 };
 
 #define FIO_VERROR_SIZE        128
@@ -457,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;
@@ -472,6 +477,8 @@ struct thread_data {
                struct frand_state __trim_state;
        };
 
+       struct frand_state buf_state;
+
        unsigned int verify_batch;
        unsigned int trim_batch;
 
@@ -643,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 nr_clients;
 
 extern struct thread_data *threads;
 
@@ -683,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 *);