summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/os-freebsd.h1
-rw-r--r--os/os-linux.h1
-rw-r--r--os/os-solaris.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index 8d965aad..062c44cd 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -8,6 +8,7 @@
#define FIO_HAVE_ODIRECT
#define FIO_USE_GENERIC_BDEV_SIZE
#define FIO_USE_GENERIC_RAND
+#define FIO_HAVE_FDATASYNC
#define OS_MAP_ANON MAP_ANON
diff --git a/os/os-linux.h b/os/os-linux.h
index 7162dfa2..01140e0d 100644
--- a/os/os-linux.h
+++ b/os/os-linux.h
@@ -33,6 +33,7 @@
#define FIO_HAVE_PSHARED_MUTEX
#define FIO_HAVE_CL_SIZE
#define FIO_HAVE_CGROUPS
+#define FIO_HAVE_FDATASYNC
#define OS_MAP_ANON MAP_ANONYMOUS
diff --git a/os/os-solaris.h b/os/os-solaris.h
index c6419d83..f8ce1f31 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -14,6 +14,7 @@
#define FIO_HAVE_CPU_AFFINITY
#define FIO_HAVE_PSHARED_MUTEX
#define FIO_USE_GENERIC_BDEV_SIZE
+#define FIO_HAVE_FDATASYNC
#define OS_MAP_ANON MAP_ANON
#define OS_RAND_MAX 2147483648UL