Replace redundant TD_F_NOIO flag with td->io_ops_init
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index b573ac587d3361e3b1f5919a391e3e3ceab7f649..581512fd0ad77d1b748b285bf6df5b2e216edbbf 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -74,7 +74,7 @@ enum {
        TD_F_VER_NONE           = 1U << 5,
        TD_F_PROFILE_OPS        = 1U << 6,
        TD_F_COMPRESS           = 1U << 7,
-       TD_F_NOIO               = 1U << 8,
+       TD_F_RESERVED           = 1U << 8, /* not used */
        TD_F_COMPRESS_LOG       = 1U << 9,
        TD_F_VSTATE_SAVED       = 1U << 10,
        TD_F_NEED_LOCK          = 1U << 11,
@@ -231,6 +231,7 @@ struct thread_data {
         * to any of the available IO engines.
         */
        struct ioengine_ops *io_ops;
+       int io_ops_init;
 
        /*
         * IO engine private data and dlhandle.