configure: add --extra-cflags
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 1ff384fdb4d08141a4e681cd507fbc5d7655c528..9e202996997bec070bfa01ffcc413210735ea5f3 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -40,7 +40,7 @@ struct thread_data;
 #include "stat.h"
 #include "flow.h"
 
-#ifdef FIO_HAVE_SOLARISAIO
+#ifdef CONFIG_SOLARISAIO
 #include <sys/asynch.h>
 #endif
 
@@ -655,8 +655,6 @@ static inline int should_fsync(struct thread_data *td)
 {
        if (td->last_was_sync)
                return 0;
-       if (td->o.odirect)
-               return 0;
        if (td_write(td) || td_rw(td) || td->o.override_sync)
                return 1;