ioengines: clarify FIO_RO_NEEDS_RW_OPEN flag
authorVincent Fu <vincent.fu@samsung.com>
Tue, 7 Feb 2023 15:44:00 +0000 (10:44 -0500)
committerVincent Fu <vincent.fu@samsung.com>
Tue, 7 Feb 2023 15:44:00 +0000 (10:44 -0500)
This flag is only checked in generic_open_file(). So ioengines with the
own open file routines that do not call generic_open_file() will be
unaffected.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
ioengines.h

index 2cb9743e8ec9ccae19b7de02f9f713ab0f373350..ea79918019a10b75fd778ec2fabcc950e783f96f 100644 (file)
@@ -90,7 +90,8 @@ enum fio_ioengine_flags {
        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 */
+                       = 1 << 18,      /* open files in rw mode even if we have a read job; only
+                                          affects ioengines using generic_open_file */
 };
 
 /*