X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-linux.h;h=9e708f04c7b020f466decf189909ff3e9df2d6c6;hb=c08ad04c17e63c275ff477b21460ed6fa3b493f9;hp=e1936342bd54fceac5b61d765a86adfacfdcf970;hpb=df73aab128ff3f1ff5091fb0b5a0e7728f86499f;p=fio.git diff --git a/os/os-linux.h b/os/os-linux.h index e1936342..9e708f04 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -247,7 +247,7 @@ static inline int arch_cache_line_size(void) return atoi(size); } -static inline unsigned long long get_fs_size(const char *path) +static inline unsigned long long get_fs_free_size(const char *path) { unsigned long long ret; struct statfs s; @@ -282,4 +282,10 @@ static inline int fio_set_sched_idle(void) } #endif +#ifndef POSIX_FADV_STREAMID +#define POSIX_FADV_STREAMID 8 +#endif + +#define FIO_HAVE_STREAMID + #endif