projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux: fallocate() fixes
[fio.git]
/
os
/
os-linux.h
diff --git
a/os/os-linux.h
b/os/os-linux.h
index 3bf6bd97fbd69a806f3c5948652669e78dc804ba..d5c3f76e03fb40afe8c3807f0ded8620f50b1d1e 100644
(file)
--- a/
os/os-linux.h
+++ b/
os/os-linux.h
@@
-50,6
+50,9
@@
* Can only enable this for newer glibcs, or the header and defines are
* missing
*/
+#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 6
+#define FIO_HAVE_FALLOCATE
+#endif
#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 8
#define FIO_HAVE_LINUX_FALLOCATE
#endif