Re: [Ext2-devel] [patch 11/18] dirsync

Andrew Morton (akpm@zip.com.au)
Sun, 26 May 2002 14:54:17 -0700


Andrew Morton wrote:
>
> "Peter J. Braam" wrote:
> >
> > Hi
> >
> > I think this patch is actually pretty important - could we please have
> > this, or something like this?
> >
>
> Well `-o sync' will give the same result. dirsync is just a speedup.
>
> I should have mentioned: untarring a kernel tree with dirsync is 4x to
> 5x faster than `-o sync', but still tons slower (5x?) than default.

grr. On ext2.

On ext3, dirsync _is_ sync for journalled and ordered modes. If you
run a commit, you sync the entire fs, end of story. So dirsync on ext3
really only makes a difference in writeback mode.

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