[PATCH] Add option to specify the exact file used
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 03a2378d94c9451f13d8b2f9177d5602a91910c3..015af8db476a5121a485bcfd349cb4efee1e1ec6 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -161,6 +161,7 @@ struct fio_file {
 struct thread_data {
        char name[32];
        char *directory;
+       char *filename;
        char verror[80];
        pthread_t thread;
        int thread_number;
@@ -168,6 +169,7 @@ struct thread_data {
        enum fio_filetype filetype;
        struct fio_file *files;
        unsigned int nr_files;
+       unsigned int nr_uniq_files;
        unsigned int next_file;
        int error;
        pid_t pid;
@@ -497,6 +499,7 @@ extern void io_completed(struct thread_data *, struct io_u *, struct io_completi
 /*
  * io engine entry points
  */
+extern int td_io_init(struct thread_data *);
 extern int td_io_prep(struct thread_data *, struct io_u *);
 extern int td_io_queue(struct thread_data *, struct io_u *);
 extern int td_io_sync(struct thread_data *, struct fio_file *);