Close listen socket when done
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 9d2a61ccedb2883aa00414ce84b80864af9af0c4..d36ee165fef022ac15834d9969b95698e4b690b3 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -254,7 +254,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 +348,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 +414,8 @@ struct thread_options {
        unsigned int gid;
 
        unsigned int sync_file_range;
+
+       unsigned int userspace_libaio_reap;
 };
 
 #define FIO_VERROR_SIZE        128
@@ -458,7 +461,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 +476,8 @@ struct thread_data {
                struct frand_state __trim_state;
        };
 
+       struct frand_state buf_state;
+
        unsigned int verify_batch;
        unsigned int trim_batch;
 
@@ -644,6 +649,8 @@ 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 struct thread_data *threads;
 
@@ -684,6 +691,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 *);