X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengine.h;h=493d4b5c59bf6ec2187c8646784f3316600c674e;hp=7299636ddc9f28a0d32045e7a9f348c58d770ad0;hb=c27d66bf53be3d2353ff50f828fa2f793d302d59;hpb=100f49f105126a26de6f1069679c20fd75194188 diff --git a/ioengine.h b/ioengine.h index 7299636d..493d4b5c 100644 --- a/ioengine.h +++ b/ioengine.h @@ -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 #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) */ }; /*