X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=ioengine.h;h=161acf595caa4c53217b9ee2673fc3b80ed1143c;hb=36dd3379227a214a7caf2dc9ab7f818a8e266796;hp=6734c7bb95dfb58a42b7176c1b29f66cae2eb887;hpb=882718418309228b28146dc03d43c9253c7cfb35;p=fio.git diff --git a/ioengine.h b/ioengine.h index 6734c7bb..161acf59 100644 --- a/ioengine.h +++ b/ioengine.h @@ -16,7 +16,7 @@ #include #endif -#define FIO_IOOPS_VERSION 22 +#define FIO_IOOPS_VERSION 23 enum { IO_U_F_FREE = 1 << 0, @@ -157,6 +157,8 @@ struct ioengine_ops { int (*unlink_file)(struct thread_data *, struct fio_file *); int (*get_file_size)(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 *); int (*io_u_init)(struct thread_data *, struct io_u *); void (*io_u_free)(struct thread_data *, struct io_u *); int option_struct_size;