xfs_io: fix test for fallocate on 32bit boxes

Eric Sandeen sandeen at sandeen.net
Tue Jun 16 10:04:54 CDT 2009


Christoph Hellwig wrote:
> On Mon, Jun 15, 2009 at 02:43:04PM -0500, Eric Sandeen wrote:
>> xfs_io: fix test for fallocate on 32bit boxes
>>
>> As per Red Hat bug 500487, fallocate64 is missing in glibc,
>> so attempts to build with fallocate and _FILE_OFFSET_BITS=64
>> will fail.
>>
>> So, change the config to test the way we will build, and
>> it'll fail properly on x86 until glibc gets fixed.
> 
> Yikes.  What's the status of actually getting it fixed in glibc?
> Otherwise we might have to switch to the raw syscall as ugly
> as it might be.
> 



More information about the xfs mailing list