#include <errno.h>
#include <sys/sysctl.h>
+#include "../file.h"
+
#ifndef CLOCK_MONOTONIC
#define CLOCK_MONOTONIC 1
#endif
#endif
#define FIO_HAVE_POSIXAIO
+#define FIO_HAVE_CLOCK_MONOTONIC
#define FIO_USE_GENERIC_BDEV_SIZE
#define FIO_USE_GENERIC_RAND
#define OS_MAP_ANON MAP_ANON
-typedef unsigned long os_cpu_mask_t;
typedef unsigned int clockid_t;
+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;
}