X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-linux.h;h=5d1d62db27a0e2234ceaed73878e6bf4d37316ec;hb=621677626f2551bedfdc4a5fc3b3e5f8492b94fa;hp=869a25d8ee5d86c684762d91c4f7a4496f2b5d7f;hpb=ba9c7219eefcc04e84a4fb4970f4b5caeaf48aa6;p=fio.git diff --git a/os/os-linux.h b/os/os-linux.h index 869a25d8..5d1d62db 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -196,6 +196,12 @@ static inline int fio_lookup_raw(dev_t dev, int *majdev, int *mindev) #define FIO_O_NOATIME 0 #endif +#ifdef O_ATOMIC +#define OS_O_ATOMIC O_ATOMIC +#else +#define OS_O_ATOMIC 040000000 +#endif + #ifdef MADV_REMOVE #define FIO_MADV_FREE MADV_REMOVE #endif