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: > > > 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 0/5] fallocate system call
- From: Andreas Dilger <[email protected]>
- Re: [PATCH 0/5] fallocate system call
- References:
- Re: Interface for the new fallocate() system call
- From: "Amit K. Arora" <[email protected]>
- Re: Interface for the new fallocate() system call
- From: Andreas Dilger <[email protected]>
- Re: Interface for the new fallocate() system call
- From: "Amit K. Arora" <[email protected]>
- Re: Interface for the new fallocate() system call
- From: Jakub Jelinek <[email protected]>
- Re: Interface for the new fallocate() system call
- From: "Amit K. Arora" <[email protected]>
- [PATCH 0/5] fallocate system call
- From: "Amit K. Arora" <[email protected]>
- Re: [PATCH 0/5] fallocate system call
- From: David Chinner <[email protected]>
- Re: [PATCH 0/5] fallocate system call
- From: Chris Wedgwood <[email protected]>
- Re: Interface for the new fallocate() system call
- Prev by Date: Re: [git pull] New firewire stack
- Next by Date: Re: [BUG] 2.6.21: Kernel won't boot with either/both of CONFIG_NO_HZ, CONFIG_HIGH_RES_TIMERS
- Previous by thread: Re: [PATCH 0/5] fallocate system call
- Next by thread: Re: [PATCH 0/5] fallocate system call
- Index(es):