Re: [patch 12/16] fix race between writeback and unlink

Chris Mason (mason@suse.com)
03 Jun 2002 18:36:23 -0400


On Mon, 2002-06-03 at 18:19, Linus Torvalds wrote:
>
>
> On 3 Jun 2002, Chris Mason wrote:
> >
> > Or am I missing something?
>
> No. I think that in the long run we really would want all of the writeback
> preallocation should happen in the "struct file", not in "struct inode".
> And they should be released at file close ("release()"), not at iput()
> time.

reiserfs does preallocation and tail packing in release() right now, but
do we really need preallocation at all once delayed allocation is
stable?

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/