Proper size return from output buffers
[fio.git] / ioengine.h
index 3d49993699294c2148f8601e884169ab7ab0a0fe..f7f3ec329c1c71491d16f5b07415f7d87ebe1724 100644 (file)
@@ -15,7 +15,7 @@
 #include <guasi.h>
 #endif
 
-#define FIO_IOOPS_VERSION      21
+#define FIO_IOOPS_VERSION      22
 
 enum {
        IO_U_F_FREE             = 1 << 0,
@@ -144,6 +144,7 @@ struct ioengine_ops {
        int (*commit)(struct thread_data *);
        int (*getevents)(struct thread_data *, unsigned int, unsigned int, const struct timespec *);
        struct io_u *(*event)(struct thread_data *, int);
+       char *(*errdetails)(struct io_u *);
        int (*cancel)(struct thread_data *, struct io_u *);
        void (*cleanup)(struct thread_data *);
        int (*open_file)(struct thread_data *, struct fio_file *);