Fio 2.2.13
[fio.git] / os / os-linux.h
index e1936342bd54fceac5b61d765a86adfacfdcf970..9e708f04c7b020f466decf189909ff3e9df2d6c6 100644 (file)
@@ -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