xfs
[Top] [All Lists]

Re: xfs_io: fix test for fallocate on 32bit boxes

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: xfs_io: fix test for fallocate on 32bit boxes
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 16 Jun 2009 10:04:59 -0400
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <4A36A448.4060406@xxxxxxxxxxx>
References: <4A36A448.4060406@xxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
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.

<Prev in Thread] Current Thread [Next in Thread>