Re: [PATCH] 2.4.8-pre3 fsync entire path (+reiserfs fsync semantic change patch)

From: Andrew Morton (akpm@zip.com.au)
Date: Fri Aug 03 2001 - 20:08:49 EST


Chris Wedgwood wrote:
>
> On Fri, Aug 03, 2001 at 06:34:14PM +0000, Linus Torvalds wrote:
>
> fsync(int fd)
> {
> dentry = fdget(fd);
> do_fsync(dentry);
> for (;;) {
> tmp = dentry;
> dentry = dentry->d_parent;
> if (dentry == tmp)
> break;
> do_fdatasync(dentry);
> }
> }
>
> I really like this idea. Can people please try out the attached patch?

Ow. You just crippled ext3.

I don't think an ext2 problem (which I don't think is a problem
at all) should be "fixed" at the VFS layer when other filesystems
are perfectly happy without it, no?

This whole thread, talking about "linux this" and "linux that"
is off-base. It's ext2 we're talking about. This MTA requirement
is a highly unusual and specialised thing - I don't see why the
general-purpose ext2 should bear the burden of supporting it when
other filesystems such as reiserfs (I think?) and ext3 support it
naturally and better than ext2 ever will.

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



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:31 EST