FIO_FILE_OPEN = 1 << 0, /* file is open */
FIO_FILE_UNLINK = 1 << 1, /* unlink on close */
FIO_FILE_CLOSING = 1 << 2, /* file being closed */
+ FIO_FILE_EXISTS = 1 << 3, /* no need to create */
};
/*
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];
unsigned int file_service_type;
unsigned int group_reporting;
unsigned int open_files;
+ char *opendir;
char *read_iolog_file;
char *write_iolog_file;
extern FILE *f_err;
extern int temp_stall_ts;
extern unsigned long long mlock_size;
+extern unsigned long page_mask, page_size;
extern struct thread_data *threads;
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