Make profile io op overrides a dedicated structure
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 23e007b863550a10931cbf0d02addc5e4d20bd90..09cd01cdcf6a17fccc627ec1261eb048e5c6ab68 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -30,6 +30,7 @@
 #include "iolog.h"
 #include "helpers.h"
 #include "options.h"
+#include "profile.h"
 
 #ifdef FIO_HAVE_GUASI
 #include <guasi.h>
@@ -426,6 +427,11 @@ struct thread_data {
         */
        unsigned int total_err_count;
        int first_error;
+
+       /*
+        * Can be overloaded by profiles
+        */
+       struct prof_io_ops prof_io_ops;
 };
 
 /*