Merge branch 'regrow_agg_logs' of https://github.com/pmoust/fio
[fio.git] / os / os-linux.h
index dbcde242c6ef33dd16996efade9a452df71890d0..5562b0da93a67bd2949032e54e914ce85ae7c380 100644 (file)
@@ -58,6 +58,8 @@
 
 #define OS_MAP_ANON            MAP_ANONYMOUS
 
+#define FIO_EXT_ENG_DIR        "/usr/local/lib/fio"
+
 typedef cpu_set_t os_cpu_mask_t;
 
 #ifdef CONFIG_3ARG_AFFINITY
@@ -325,9 +327,12 @@ static inline int fio_set_sched_idle(void)
 #ifndef RWF_SYNC
 #define RWF_SYNC       0x00000004
 #endif
+#ifndef RWF_NOWAIT
+#define RWF_NOWAIT     0x00000008
+#endif
 
 #ifndef RWF_UNCACHED
-#define RWF_UNCACHED   0x00000020
+#define RWF_UNCACHED   0x00000040
 #endif
 
 #ifndef RWF_WRITE_LIFE_SHIFT