X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-aix.h;h=e204d6f27f270f1e63a06809fb4fdaffb2cbe1e4;hb=41a87019871503bb85e19e622b6a5f47de6c2aeb;hp=3cbc80f32c47fd681505ac2916037289cc4154ba;hpb=b4c1fb368f9863449e4c0312df845b58f8b67717;p=fio.git diff --git a/os/os-aix.h b/os/os-aix.h index 3cbc80f3..e204d6f2 100644 --- a/os/os-aix.h +++ b/os/os-aix.h @@ -10,38 +10,18 @@ #include "../file.h" -#define FIO_HAVE_POSIXAIO #define FIO_HAVE_ODIRECT #define FIO_USE_GENERIC_RAND -#define FIO_HAVE_CLOCK_MONOTONIC -#define FIO_HAVE_PTHREAD_CONDATTR_SETCLOCK - -/* - * This is broken on AIX if _LARGE_FILES is defined... - */ -#if 0 -#define FIO_HAVE_FALLOCATE -#endif - -#define FIO_HAVE_PSHARED_MUTEX +#define FIO_USE_GENERIC_INIT_RANDOM_STATE #define OS_MAP_ANON MAP_ANON #define OS_MSG_DONTWAIT 0 -#if BYTE_ORDER == BIG_ENDIAN -#define FIO_BIG_ENDIAN -#else -#define FIO_LITTLE_ENDIAN -#endif - #define FIO_USE_GENERIC_SWAP -#define FIO_OS_HAVE_SOCKLEN_T -#define fio_socklen_t socklen_t - static inline int blockdev_invalidate_cache(struct fio_file *f) { - return EINVAL; + return ENOTSUP; } static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)