Fio 1.44.1
[fio.git] / ioengine.h
index 389e95a560c0006671a2c2ee21f680d18dbe2e6e..7a3c08fd7891c48d600c333342d5ad6c5ec65892 100644 (file)
@@ -9,6 +9,8 @@ enum {
        IO_U_F_FREE_DEF         = 1 << 2,
        IO_U_F_IN_CUR_DEPTH     = 1 << 3,
        IO_U_F_BUSY_OK          = 1 << 4,
+       IO_U_F_TRIMMED          = 1 << 5,
+       IO_U_F_BARRIER          = 1 << 6,
 };
 
 /*
@@ -30,6 +32,9 @@ struct io_u {
 #endif
 #ifdef FIO_HAVE_SOLARISAIO
                aio_result_t resultp;
+#endif
+#ifdef FIO_HAVE_BINJECT
+               struct b_user_cmd buc;
 #endif
                void *mmap_data;
        };
@@ -122,6 +127,7 @@ enum fio_ioengine_flags {
        FIO_NOIO        = 1 << 6,       /* thread does only pseudo IO */
        FIO_SIGQUIT     = 1 << 7,       /* needs SIGQUIT to exit */
        FIO_PIPEIO      = 1 << 8,       /* input/output no seekable */
+       FIO_BARRIER     = 1 << 9,       /* engine supports barriers */
 };
 
 /*