Initial support for explicit write barriers
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/ioengine.h b/ioengine.h
index 344cdbf..7a3c08f 100644
--- a/ioengine.h
+++ b/ioengine.h
@@ -10,6 +10,7 @@
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,
};
/*
@@ -126,6 +127,7 @@
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 */
};
/*