X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-linux.h;h=6f2372bcd7e48bc7074928a4afa0212202ebade3;hb=5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373;hp=1bf7e62a42ca8840fcfeef4ef7bc668476084948;hpb=4c5946c6606abc87ba7e2bfc57a5030d19b6d4d5;p=fio.git diff --git a/os/os-linux.h b/os/os-linux.h index 1bf7e62a..6f2372bc 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -10,6 +10,8 @@ #include #include +#include "indirect.h" + #define FIO_HAVE_LIBAIO #define FIO_HAVE_POSIXAIO #define FIO_HAVE_FADVISE @@ -23,6 +25,7 @@ #define FIO_HAVE_HUGETLB #define FIO_HAVE_RAWBIND #define FIO_HAVE_BLKTRACE +#define FIO_HAVE_STRSEP #define OS_MAP_ANON (MAP_ANONYMOUS) @@ -98,10 +101,6 @@ static inline int vmsplice(int fd, const struct iovec *iov, } #endif -#ifdef SPLICE_F_UNMAP -#define SPLICE_F_UNMAP (0x10) -#endif - #define SPLICE_DEF_SIZE (64*1024) #ifdef FIO_HAVE_SYSLET @@ -229,4 +228,6 @@ static inline int fio_lookup_raw(dev_t dev, int *majdev, int *mindev) return 0; } +#define FIO_O_NOATIME O_NOATIME + #endif