Re: [PATCH 0/5] fallocate system call
From: Amit K. Arora <hidden>
Date: 2007-05-02 12:53:12
Also in:
linux-fsdevel, linux-xfs, lkml
From: Amit K. Arora <hidden>
Date: 2007-05-02 12:53:12
Also in:
linux-fsdevel, linux-xfs, lkml
On Sun, Apr 29, 2007 at 10:25:59PM -0700, Chris Wedgwood wrote:
On Mon, Apr 30, 2007 at 10:47:02AM +1000, David Chinner wrote:quoted
For FA_ALLOCATE, it's supposed to change the file size if we allocate past EOF, right?I would argue no. Use truncate for that.
The patch I posted for ext4 *does* change the filesize after preallocation, if required (i.e. when preallocation is after EOF). I may have to change that, if we decide on not doing this. -- Regards, Amit Arora