X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=ioengine.h;h=37bf5fce125e0e9e265b9137cf63dc9b0eb406fa;hb=ef3d8e53c01456f22a61c162e4e5a3997af14a5d;hp=7e0707bc9c35667ab07fda03f08f62f49cc505cf;hpb=225ba9e3433cf27d8ff7b213d9f78b7ef2776c70;p=fio.git diff --git a/ioengine.h b/ioengine.h index 7e0707bc..37bf5fce 100644 --- a/ioengine.h +++ b/ioengine.h @@ -15,7 +15,7 @@ #include #endif -#define FIO_IOOPS_VERSION 17 +#define FIO_IOOPS_VERSION 19 enum { IO_U_F_FREE = 1 << 0, @@ -143,6 +143,7 @@ struct ioengine_ops { void (*cleanup)(struct thread_data *); int (*open_file)(struct thread_data *, struct fio_file *); int (*close_file)(struct thread_data *, struct fio_file *); + int (*invalidate)(struct thread_data *, struct fio_file *); int (*get_file_size)(struct thread_data *, struct fio_file *); void (*terminate)(struct thread_data *); int (*io_u_init)(struct thread_data *, struct io_u *);