enum fio_file_flags {
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, /* file there */
- FIO_FILE_EXTEND = 1 << 4, /* needs extend */
- FIO_FILE_NOSORT = 1 << 5, /* don't sort verify blocks */
- FIO_FILE_DONE = 1 << 6, /* io completed to this file */
- FIO_SIZE_KNOWN = 1 << 7, /* size has been set */
+ FIO_FILE_CLOSING = 1 << 1, /* file being closed */
+ FIO_FILE_EXISTS = 1 << 2, /* file there */
+ FIO_FILE_EXTEND = 1 << 3, /* needs extend */
+ FIO_FILE_NOSORT = 1 << 4, /* don't sort verify blocks */
+ FIO_FILE_DONE = 1 << 5, /* io completed to this file */
+ FIO_SIZE_KNOWN = 1 << 6, /* size has been set */
};
/*
unsigned int numjobs;
os_cpu_mask_t cpumask;
unsigned int iolog;
- unsigned int read_iolog;
unsigned int rwmixcycle;
unsigned int rwmix[2];
unsigned int nice;
extern int __must_check td_io_open_file(struct thread_data *, struct fio_file *);
extern void td_io_close_file(struct thread_data *, struct fio_file *);
+/*
+ * blktrace support
+ */
+extern int is_blktrace(const char *);
+extern int load_blktrace(struct thread_data *, const char *);
+
/*
* If logging output to a file, stderr should go to both stderr and f_err
*/