zbd: engines/libzbc: don't fail on assert for offline zones
[fio.git] / ioengines.h
index 54dadba2cbce34921d6d46b05c233b4aeb8c4a8a..839b318da60464eb5d78d503ca930559c2548c41 100644 (file)
@@ -8,7 +8,7 @@
 #include "io_u.h"
 #include "zbd_types.h"
 
-#define FIO_IOOPS_VERSION      26
+#define FIO_IOOPS_VERSION      28
 
 #ifndef CONFIG_DYNAMIC_ENGINES
 #define FIO_STATIC     static
@@ -30,6 +30,7 @@ struct ioengine_ops {
        const char *name;
        int version;
        int flags;
+       void *dlhandle;
        int (*setup)(struct thread_data *);
        int (*init)(struct thread_data *);
        int (*post_init)(struct thread_data *);
@@ -77,7 +78,8 @@ enum fio_ioengine_flags {
        FIO_NOSTATS     = 1 << 12,      /* don't do IO stats */
        FIO_NOFILEHASH  = 1 << 13,      /* doesn't hash the files for lookup later. */
        FIO_ASYNCIO_SYNC_TRIM
-                       = 1 << 14       /* io engine has async ->queue except for trim */
+                       = 1 << 14,      /* io engine has async ->queue except for trim */
+       FIO_NO_OFFLOAD  = 1 << 15,      /* no async offload */
 };
 
 /*