X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-aix.h;h=3d677650934e8a762d6651f32cfa5ee096b47b69;hp=91c8bcda84d572f76b04fe5f12589430ca4252cd;hb=4e0a8fa2593006505b7f4e18931a201d221b49e9;hpb=7ed4d7abf0d7720d532d9680ebf69745d9270a5e diff --git a/os/os-aix.h b/os/os-aix.h index 91c8bcda..3d677650 100644 --- a/os/os-aix.h +++ b/os/os-aix.h @@ -1,6 +1,8 @@ #ifndef FIO_OS_AIX_H #define FIO_OS_AIX_H +#define FIO_OS os_aix + #include #include #include @@ -8,23 +10,17 @@ #include "../file.h" -#define FIO_HAVE_POSIXAIO #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 +#define FIO_USE_GENERIC_SWAP + static inline int blockdev_invalidate_cache(struct fio_file *f) { return EINVAL;