X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-aix.h;h=3d677650934e8a762d6651f32cfa5ee096b47b69;hb=8079cb463d0934ef458788030922923ce4be1ac0;hp=b5ee5bb35e6a38f73c25bc05df8d3b0a0ed0ace1;hpb=ecc314ba7c5f02b7e90ac1dfbce1a74cd4e6d6fe;p=fio.git diff --git a/os/os-aix.h b/os/os-aix.h index b5ee5bb3..3d677650 100644 --- a/os/os-aix.h +++ b/os/os-aix.h @@ -1,29 +1,27 @@ #ifndef FIO_OS_AIX_H #define FIO_OS_AIX_H +#define FIO_OS os_aix + #include #include #include #include -#define FIO_HAVE_POSIXAIO +#include "../file.h" + #define FIO_HAVE_ODIRECT #define FIO_USE_GENERIC_RAND -#define FIO_HAVE_CLOCK_MONOTONIC - -/* - * This is broken on AIX if _LARGE_FILES is defined... - */ -#if 0 -#define FIO_HAVE_FALLOCATE -#endif +#define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_PSHARED_MUTEX #define OS_MAP_ANON MAP_ANON #define OS_MSG_DONTWAIT 0 -static inline int blockdev_invalidate_cache(struct fio_file fio_unused *f) +#define FIO_USE_GENERIC_SWAP + +static inline int blockdev_invalidate_cache(struct fio_file *f) { return EINVAL; }