summaryrefslogtreecommitdiff
path: root/os/os-solaris.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-12-20 22:29:10 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-12-20 22:29:10 +0100
commitc36d16f5a0b9e3d505c9933bbbdccdb519ca4faf (patch)
tree2f1fb4e3c352ebc87e8b137c6d2bb0fcf599d30f /os/os-solaris.h
parenta14ca44ada0708be91ed7741a32176bef4801cc4 (diff)
downloadfio-c36d16f5a0b9e3d505c9933bbbdccdb519ca4faf.tar.gz
fio-c36d16f5a0b9e3d505c9933bbbdccdb519ca4faf.tar.bz2
Make fdatasync OS optional
OSX does not have it. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os-solaris.h')
-rw-r--r--os/os-solaris.h1
1 files changed, 1 insertions, 0 deletions
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