From 78b269e358bb4be773879db797a41ec981e1d951 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 20 Feb 2012 09:21:45 +0100 Subject: [PATCH] Need glibc 2.8 or bigger for fallocate Signed-off-by: Jens Axboe --- os/os-linux.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/os/os-linux.h b/os/os-linux.h index 9f547fff..c0953df4 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -34,7 +34,6 @@ #define FIO_HAVE_RAWBIND #define FIO_HAVE_BLKTRACE #define FIO_HAVE_STRSEP -#define FIO_HAVE_FALLOCATE #define FIO_HAVE_POSIXAIO_FSYNC #define FIO_HAVE_PSHARED_MUTEX #define FIO_HAVE_CL_SIZE @@ -50,7 +49,7 @@ * Can only enable this for newer glibcs, or the header and defines are * missing */ -#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 6 +#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 8 #define FIO_HAVE_LINUX_FALLOCATE #endif -- 2.25.1