Merge branch 'lintian-manpage-fixes' of https://github.com/hoexter/fio
[fio.git] / ioengines.h
index b3f755b477de01f2ece25e93e9ad4d0edfa7bcda..11d2115ce700ac1fe702ab57c29dccc9523505df 100644 (file)
@@ -8,7 +8,7 @@
 #include "io_u.h"
 #include "zbd_types.h"
 
-#define FIO_IOOPS_VERSION      30
+#define FIO_IOOPS_VERSION      31
 
 #ifndef CONFIG_DYNAMIC_ENGINES
 #define FIO_STATIC     static
@@ -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,8 @@ 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 */
 };
 
 /*