4 #define FIO_HAVE_LIBAIO
5 #define FIO_HAVE_POSIXAIO
6 #define FIO_HAVE_FADVISE
7 #define FIO_HAVE_CPU_AFFINITY
9 #define OS_MAP_ANON (MAP_ANONYMOUS)
11 typedef cpu_set_t os_cpu_mask_t;
14 * we want fadvise64 really, but it's so tangled... later
16 #define fadvise(fd, off, len, advice) \
17 posix_fadvise((fd), (off_t)(off), (len), (advice))
19 #define fio_setaffinity(td) \
20 sched_setaffinity((td)->pid, sizeof((td)->cpumask), &(td)->cpumask)