Move IO engine flags
[fio.git] / ioengine.h
index f293ab85facd98a54c1df46e9b264e07f4d932b4..2caece72c644e4e4f144715f586e73bcb6b5ffac 100644 (file)
@@ -103,6 +103,16 @@ struct ioengine_ops {
        void *dlhandle;
 };
 
        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
 
 /*
  * io engine entry points