t/io_uring: avoid truncation of offset on 32-bit builds
[fio.git] / ioengines.h
index d43540d0f6032c480008a86d1d07f69b807f9341..9484265e6f0fcb817f9766d185c8f865a0c4f87a 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      32
 
 #ifndef CONFIG_DYNAMIC_ENGINES
 #define FIO_STATIC     static
@@ -63,6 +64,8 @@ struct ioengine_ops {
                                  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;
 };
@@ -89,6 +92,9 @@ enum fio_ioengine_flags {
                        = 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 */
+       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 */
 };
 
 /*