Fix a rate limit issue.
[fio.git] / ioengines.h
index f48b4db934851fd944eba8e66f462858aed183a5..a928b211509281eb1e93d5d27c8d9d4225086c60 100644 (file)
@@ -8,7 +8,13 @@
 #include "io_u.h"
 #include "zbd_types.h"
 
-#define FIO_IOOPS_VERSION      26
+#define FIO_IOOPS_VERSION      27
+
+#ifndef CONFIG_DYNAMIC_ENGINES
+#define FIO_STATIC     static
+#else
+#define FIO_STATIC
+#endif
 
 /*
  * io_ops->queue() return values
@@ -71,7 +77,8 @@ enum fio_ioengine_flags {
        FIO_NOSTATS     = 1 << 12,      /* don't do IO stats */
        FIO_NOFILEHASH  = 1 << 13,      /* doesn't hash the files for lookup later. */
        FIO_ASYNCIO_SYNC_TRIM
-                       = 1 << 14       /* io engine has async ->queue except for trim */
+                       = 1 << 14,      /* io engine has async ->queue except for trim */
+       FIO_NO_OFFLOAD  = 1 << 15,      /* no async offload */
 };
 
 /*