X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=os%2Fos-aix.h;h=1870e6e46f9c14676c53394eaadff3383a08d675;hb=e8b1961dd3470be277d31d3ddd6eeef885c1cfe2;hp=91c8bcda84d572f76b04fe5f12589430ca4252cd;hpb=9b8365618309572d8fd2579c8ea3132db89f843f;p=fio.git diff --git a/os/os-aix.h b/os/os-aix.h index 91c8bcda..1870e6e4 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 @@ -11,6 +13,7 @@ #define FIO_HAVE_POSIXAIO #define FIO_HAVE_ODIRECT #define FIO_USE_GENERIC_RAND +#define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_CLOCK_MONOTONIC /* @@ -25,6 +28,17 @@ #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;