engines/libblkio: Add option libblkio_wait_mode
[fio.git] / ioengines.h
index acdb0071f52de85e67d462b1e2fb4773e54970fb..d43540d0f6032c480008a86d1d07f69b807f9341 100644 (file)
@@ -61,6 +61,8 @@ struct ioengine_ops {
                        uint64_t, uint64_t);
        int (*get_max_open_zones)(struct thread_data *, struct fio_file *,
                                  unsigned int *);
+       int (*finish_zone)(struct thread_data *, struct fio_file *,
+                          uint64_t, uint64_t);
        int option_struct_size;
        struct fio_option *options;
 };
@@ -83,6 +85,10 @@ enum fio_ioengine_flags {
        FIO_ASYNCIO_SYNC_TRIM
                        = 1 << 14,      /* io engine has async ->queue except for trim */
        FIO_NO_OFFLOAD  = 1 << 15,      /* no async offload */
+       FIO_ASYNCIO_SETS_ISSUE_TIME
+                       = 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 */
 };
 
 /*