t/jobs: Fix a typo in jobs 23 & 24
[fio.git] / ioengines.h
index ea79918019a10b75fd778ec2fabcc950e783f96f..2fd7f52ca714231119010f27df6006dd48a72551 100644 (file)
@@ -7,8 +7,9 @@
 #include "flist.h"
 #include "io_u.h"
 #include "zbd_types.h"
+#include "fdp.h"
 
-#define FIO_IOOPS_VERSION      31
+#define FIO_IOOPS_VERSION      33
 
 #ifndef CONFIG_DYNAMIC_ENGINES
 #define FIO_STATIC     static
@@ -61,8 +62,12 @@ struct ioengine_ops {
                        uint64_t, uint64_t);
        int (*get_max_open_zones)(struct thread_data *, struct fio_file *,
                                  unsigned int *);
+       int (*get_max_active_zones)(struct thread_data *, struct fio_file *,
+                                   unsigned int *);
        int (*finish_zone)(struct thread_data *, struct fio_file *,
                           uint64_t, uint64_t);
+       int (*fdp_fetch_ruhs)(struct thread_data *, struct fio_file *,
+                             struct fio_ruhs_info *);
        int option_struct_size;
        struct fio_option *options;
 };
@@ -92,6 +97,8 @@ enum fio_ioengine_flags {
        FIO_RO_NEEDS_RW_OPEN
                        = 1 << 18,      /* open files in rw mode even if we have a read job; only
                                           affects ioengines using generic_open_file */
+       FIO_MULTI_RANGE_TRIM
+                       = 1 << 19,      /* ioengine supports trim with more than one range */
 };
 
 /*