[PATCH] Allow io engine to do the file setup
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 64f3b2d1ae0f96a6ead8eb7fb0855b6e6e125483..db39ea125ec31a9c74bdde4d23c51648e353cff9 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -325,6 +325,7 @@ extern int groupid;
 extern int terse_output;
 extern FILE *f_out;
 extern FILE *f_err;
+extern char *fio_inst_prefix;
 
 extern struct thread_data *threads;
 
@@ -454,6 +455,7 @@ struct ioengine_ops {
        char name[16];
        int version;
        int flags;
+       int (*setup)(struct thread_data *);
        int (*init)(struct thread_data *);
        int (*prep)(struct thread_data *, struct io_u *);
        int (*queue)(struct thread_data *, struct io_u *);