zbd: get max_active_zones limit value from zoned devices
[fio.git] / ioengines.h
index 9484265e6f0fcb817f9766d185c8f865a0c4f87a..4391b31e3ca2a30900aa85d38bc0275f13ee68f5 100644 (file)
@@ -9,7 +9,7 @@
 #include "zbd_types.h"
 #include "fdp.h"
 
-#define FIO_IOOPS_VERSION      32
+#define FIO_IOOPS_VERSION      33
 
 #ifndef CONFIG_DYNAMIC_ENGINES
 #define FIO_STATIC     static
@@ -62,6 +62,8 @@ 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 *,