gfio: add support for FIO_OPT_INT options with posval
[fio.git] / ioengine.h
index 7299636ddc9f28a0d32045e7a9f348c58d770ad0..493d4b5c59bf6ec2187c8646784f3316600c674e 100644 (file)
@@ -1,6 +1,13 @@
 #ifndef FIO_IOENGINE_H
 #define FIO_IOENGINE_H
 
+#include "compiler/compiler.h"
+#include "os/os.h"
+#include "log.h"
+#include "io_ddir.h"
+#include "debug.h"
+#include "file.h"
+
 #ifdef CONFIG_LIBAIO
 #include <libaio.h>
 #endif
@@ -21,6 +28,8 @@ enum {
        IO_U_F_VER_LIST         = 1 << 7,
 };
 
+struct thread_data;
+
 /*
  * The io unit
  */
@@ -153,6 +162,7 @@ enum fio_ioengine_flags {
        FIO_PIPEIO      = 1 << 7,       /* input/output no seekable */
        FIO_BARRIER     = 1 << 8,       /* engine supports barriers */
        FIO_MEMALIGN    = 1 << 9,       /* engine wants aligned memory */
+       FIO_BIT_BASED   = 1 << 10,      /* engine uses a bit base (e.g. uses Kbit as opposed to KB) */
 };
 
 /*