summaryrefslogtreecommitdiff
path: root/os/os-freebsd.h
diff options
context:
space:
mode:
authorJoshua Aune <luken@fusionio.com>2010-02-11 00:59:18 -0700
committerJens Axboe <jens.axboe@oracle.com>2010-02-11 11:18:53 +0100
commite72fa4d40565e7a213698d8696b81f80e4670982 (patch)
tree289f1aa0a9e7b2204bf575b37cf9a33a2d601bea /os/os-freebsd.h
parente449797e5071605a1fcd9094e40cecca4a647619 (diff)
downloadfio-e72fa4d40565e7a213698d8696b81f80e4670982.tar.gz
fio-e72fa4d40565e7a213698d8696b81f80e4670982.tar.bz2
Fix FreeBSD support
* Fix dep calculation in Makefile.FreeBSD to ignore other os specific header files, avoid blowing up on includes in os-solaris.h * Mark FreeBSD as not supporting fdatasync() * Add documentation note about FreeBSD not supporting fsyncdata= * Add warning if fsyncdata= is used on os that doesn't support, fall back to fsync() 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, 0 insertions, 1 deletions
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index 062c44cd..8d965aad 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -8,7 +8,6 @@
#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