X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=ioengines.h;h=b3f755b477de01f2ece25e93e9ad4d0edfa7bcda;hb=cb765e413e4d124355c3eec47f7ac8cd314a6951;hp=839b318da60464eb5d78d503ca930559c2548c41;hpb=f6931a1dd35896433c8cc2e10de51372a2c496c4;p=fio.git diff --git a/ioengines.h b/ioengines.h index 839b318d..b3f755b4 100644 --- a/ioengines.h +++ b/ioengines.h @@ -8,7 +8,7 @@ #include "io_u.h" #include "zbd_types.h" -#define FIO_IOOPS_VERSION 28 +#define FIO_IOOPS_VERSION 30 #ifndef CONFIG_DYNAMIC_ENGINES #define FIO_STATIC static @@ -47,6 +47,7 @@ struct ioengine_ops { int (*invalidate)(struct thread_data *, struct fio_file *); int (*unlink_file)(struct thread_data *, struct fio_file *); int (*get_file_size)(struct thread_data *, struct fio_file *); + int (*prepopulate_file)(struct thread_data *, struct fio_file *); void (*terminate)(struct thread_data *); int (*iomem_alloc)(struct thread_data *, size_t); void (*iomem_free)(struct thread_data *); @@ -58,6 +59,8 @@ struct ioengine_ops { uint64_t, struct zbd_zone *, unsigned int); int (*reset_wp)(struct thread_data *, struct fio_file *, uint64_t, uint64_t); + int (*get_max_open_zones)(struct thread_data *, struct fio_file *, + unsigned int *); int option_struct_size; struct fio_option *options; };