Fix double io_u free in error path
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 0fbf6ce8b45d2efa68cf4b892b1af71e6ac00462..51734641d3c59dd83e960a95ee84a94e53e42b30 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -357,6 +357,7 @@ struct thread_data {
        unsigned int write_bw_log;
        unsigned int norandommap;
        unsigned int bs_unaligned;
+       unsigned int fsync_on_close;
 
        unsigned int bs[2];
        unsigned int min_bs[2];
@@ -392,6 +393,7 @@ struct thread_data {
        unsigned int file_service_type;
        unsigned int group_reporting;
        unsigned int open_files;
+       char *opendir;
 
        char *read_iolog_file;
        char *write_iolog_file;
@@ -659,6 +661,7 @@ extern void generic_close_file(struct thread_data *, struct fio_file *);
 extern void add_file(struct thread_data *, const char *);
 extern void get_file(struct fio_file *);
 extern void put_file(struct thread_data *, struct fio_file *);
+extern int add_dir_files(struct thread_data *, const char *);
 
 /*
  * ETA/status stuff