[lkml]   [2001]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux-2.4.10 + ext3
Aaron Lehmann wrote:
> On Mon, Sep 24, 2001 at 02:06:05AM +0000, Linus Torvalds wrote:
> > We'll merge ext3 soon enough.. As RH seems to start using it more and
> > more, there's more reason to merge it into the standard kernel too.
> >
> > So don't worry. It will happen.
> Kinda OT, but ext3 is often treated more like a new file system than
> an extension of ext2. I'm wondering if this is a good thing. On the
> machines where I use it I have to compile both ext3 and ext2 (because
> it would be foolish to not have ext2 support) into the kernel.
> Theoretically, is there any reason why the codebases can't be
> integrated, allowing you mount ext2 FS' without journalling using only
> the ext3 code, and not requring a copy of its ancestor ext2 in the
> kernel? Or is there a way already?

It has been discussed - this is something which Andreas is interested
in, and the ext3<->JBD layer was abstracted out with the intention
that it would be easy to disable all the journalling stuff at runtime,
so we essentially mount the filesystem in ext2-mode.

Also, we currently have some unused overhead for read-only mounts - the
kjournald thread is started, but doesn't do anything in readonly mode.

So yes, it would be nice if an ext3-only kernel could drive ext2
filesystems, but not super-important.

As for the other part of your suggestion: make ext2 "obsolete":
I don't think so. ext3 is wickedly complex, and ext2 is the
reference filesystem for Linux. It could be argued (at length) that
the VFS and block layers were designed for, and are almost part of

New developments such as metadata-in-pagecache and O_DIRECT
file access were relatively straightforward to develop for
ext2, and are relatively horrid for ext3 - the developers of those
features wouldn't have appreciated having all the journalling
and ordering goop getting in their way.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.152 / U:3.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site