verify: fix a bug with verify_async
[fio.git] / ioengine.h
index 6e3c717f185414bfd20342d30635eaa60da78197..29c8487a0c12ca9fd21527792b9a565ac60524f1 100644 (file)
 #include <guasi.h>
 #endif
 
-#define FIO_IOOPS_VERSION      18
+#define FIO_IOOPS_VERSION      19
 
 enum {
        IO_U_F_FREE             = 1 << 0,
        IO_U_F_FLIGHT           = 1 << 1,
-       IO_U_F_FREE_DEF         = 1 << 2,
+       IO_U_F_NO_FILE_PUT      = 1 << 2,
        IO_U_F_IN_CUR_DEPTH     = 1 << 3,
        IO_U_F_BUSY_OK          = 1 << 4,
        IO_U_F_TRIMMED          = 1 << 5,
@@ -90,7 +90,7 @@ struct io_u {
        /*
         * Callback for io completion
         */
-       int (*end_io)(struct thread_data *, struct io_u *);
+       int (*end_io)(struct thread_data *, struct io_u **);
 
        union {
 #ifdef CONFIG_LIBAIO
@@ -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 *);