From: Jens Axboe Date: Mon, 20 Feb 2012 08:21:45 +0000 (+0100) Subject: Need glibc 2.8 or bigger for fallocate X-Git-Tag: fio-2.0.4~22 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=78b269e358bb4be773879db797a41ec981e1d951 Need glibc 2.8 or bigger for fallocate Signed-off-by: Jens Axboe --- 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