summaryrefslogtreecommitdiff
path: root/os/os-freebsd.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-freebsd.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-freebsd.h')
-rw-r--r--os/os-freebsd.h1
1 files changed, 1 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