Move IO engine flags
authorJens Axboe <jens.axboe@oracle.com>
Wed, 3 Jun 2009 06:50:36 +0000 (08:50 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 3 Jun 2009 06:50:36 +0000 (08:50 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.h
ioengine.h

diff --git a/fio.h b/fio.h
index 6e222f9758721970847a03313281fa7bae07727f..31164f5be6562f2b6293629d6db15756c5ee4bde 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -106,17 +106,6 @@ enum fio_memtype {
        MEM_MMAPHUGE,   /* memory mapped huge file */
 };
 
-enum fio_ioengine_flags {
-       FIO_SYNCIO      = 1 << 0,       /* io engine has synchronous ->queue */
-       FIO_RAWIO       = 1 << 1,       /* some sort of direct/raw io */
-       FIO_DISKLESSIO  = 1 << 2,       /* no disk involved */
-       FIO_NOEXTEND    = 1 << 3,       /* engine can't extend file */
-       FIO_NODISKUTIL  = 1 << 4,       /* diskutil can't handle filename */
-       FIO_UNIDIR      = 1 << 5,       /* engine is uni-directional */
-       FIO_NOIO        = 1 << 6,       /* thread does only pseudo IO */
-       FIO_SIGQUIT     = 1 << 7,       /* needs SIGQUIT to exit */
-};
-
 /*
  * How many depth levels to log
  */
index f293ab85facd98a54c1df46e9b264e07f4d932b4..2caece72c644e4e4f144715f586e73bcb6b5ffac 100644 (file)
@@ -103,6 +103,16 @@ struct ioengine_ops {
        void *dlhandle;
 };
 
+enum fio_ioengine_flags {
+       FIO_SYNCIO      = 1 << 0,       /* io engine has synchronous ->queue */
+       FIO_RAWIO       = 1 << 1,       /* some sort of direct/raw io */
+       FIO_DISKLESSIO  = 1 << 2,       /* no disk involved */
+       FIO_NOEXTEND    = 1 << 3,       /* engine can't extend file */
+       FIO_NODISKUTIL  = 1 << 4,       /* diskutil can't handle filename */
+       FIO_UNIDIR      = 1 << 5,       /* engine is uni-directional */
+       FIO_NOIO        = 1 << 6,       /* thread does only pseudo IO */
+       FIO_SIGQUIT     = 1 << 7,       /* needs SIGQUIT to exit */
+};
 
 /*
  * io engine entry points