fio: add FIO_RO_NEEDS_RW_OPEN ioengine flag
[fio.git] / ioengines.h
index d43540d0f6032c480008a86d1d07f69b807f9341..2cb9743e8ec9ccae19b7de02f9f713ab0f373350 100644 (file)
@@ -89,6 +89,8 @@ enum fio_ioengine_flags {
                        = 1 << 16,      /* async ioengine with commit function that sets issue_time */
        FIO_SKIPPABLE_IOMEM_ALLOC
                        = 1 << 17,      /* skip iomem_alloc & iomem_free if job sets mem/iomem */
+       FIO_RO_NEEDS_RW_OPEN
+                       = 1 << 18,      /* open files in rw mode even if we have a read job */
 };
 
 /*