#define FIO_HAVE_ODIRECT
#define FIO_HAVE_HUGETLB
-/*
- * Only for x86 currently
- */
-#if defined(__i386__)
-#define FIO_HAVE_SYSLET
-#endif
-
#define OS_MAP_ANON (MAP_ANONYMOUS)
typedef cpu_set_t os_cpu_mask_t;
user_ring_idx, ahu);
}
-static inline long async_thread(void)
+static inline long async_thread(void *event, struct async_head_user *ahu)
{
- return syscall(__NR_async_thread);
+ return syscall(__NR_async_thread, event, ahu);
}
static inline long umem_add(unsigned long *uptr, unsigned long inc)
static inline int blockdev_invalidate_cache(int fd)
{
- if (!ioctl(fd, BLKFLSBUF))
- return 0;
-
- return errno;
+ return ioctl(fd, BLKFLSBUF);
}
static inline int blockdev_size(int fd, unsigned long long *bytes)