Re: ext3-2.4-0.9.4

Chris Mason (mason@suse.com)
Mon, 30 Jul 2001 13:59:04 -0400


On Monday, July 30, 2001 01:49:12 PM -0400 Lawrence Greenfield
<leg+@andrew.cmu.edu> wrote:

> Date: Tue, 31 Jul 2001 05:38:13 +1200
> From: Chris Wedgwood <cw@f00f.org>
>
> On Mon, Jul 30, 2001 at 02:25:51PM -0300, Rik van Riel wrote:
>
> Note that this is very different from the "link() should be
> synchronous()" mantra we've been hearing over the last days.
>
> These fsync() semantics make lots of sense to me, I'm all
> for it.
>
> And what if the file has hundreds or thousands of links? How do we
> cleanly keep track of all those?
>
> You don't have to keep track of all of them, just the uncommitted
> ones.

Well, the idea is to get it done in the VFS layer. reiserfs, ext3, and
probably the other journaled filesystems could keep track of the last
transacation and inode was involved with, making the softupdate style
fsync(file) to commit a rename easy.

But, ext2 and the normal filesystems don't have it quite so good.

-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/