summaryrefslogtreecommitdiff
path: root/os/os-netbsd.h
diff options
context:
space:
mode:
authorBruce Cran <bruce@cran.org.uk>2011-01-04 10:59:30 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-04 10:59:30 +0100
commitecc314ba7c5f02b7e90ac1dfbce1a74cd4e6d6fe (patch)
tree6ffdc338398b8426022d7e32a185db4ffb41d58f /os/os-netbsd.h
parent03e20d687566753b90383571e5e152c5142bdffd (diff)
downloadfio-ecc314ba7c5f02b7e90ac1dfbce1a74cd4e6d6fe.tar.gz
fio-ecc314ba7c5f02b7e90ac1dfbce1a74cd4e6d6fe.tar.bz2
FIO Windows update
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/os-netbsd.h')
-rw-r--r--os/os-netbsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/os-netbsd.h b/os/os-netbsd.h
index 70d2958b..ecfcddbb 100644
--- a/os/os-netbsd.h
+++ b/os/os-netbsd.h
@@ -12,10 +12,10 @@
#define FIO_HAVE_POSIXAIO
#define FIO_HAVE_FADVISE
-#define fadvise posix_fadvise /* XXX NetBSD doesn't have fadvise */
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_STRSEP
#define FIO_HAVE_FDATASYNC
+#define FIO_HAVE_CLOCK_MONOTONIC
#define FIO_USE_GENERIC_BDEV_SIZE
#define FIO_USE_GENERIC_RAND
@@ -25,7 +25,7 @@
typedef off_t off64_t;
-static inline int blockdev_invalidate_cache(int fd)
+static inline int blockdev_invalidate_cache(struct fio_file fio_unused *f)
{
return EINVAL;
}