public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Aaron Lehmann <aaronl@vitelus.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux-2.4.10 + ext3
Date: Sun, 23 Sep 2001 20:45:22 -0700	[thread overview]
Message-ID: <3BAEAC52.677C064C@zip.com.au> (raw)
In-Reply-To: <Pine.LNX.4.33.0109231142060.1078-100000@penguin.transmeta.com> <1001280620.3540.33.camel@gromit.house> <9om4ed$1hv$1@penguin.transmeta.com>, <9om4ed$1hv$1@penguin.transmeta.com> <20010923193008.A13982@vitelus.com>

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
ext2.

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.

  reply	other threads:[~2001-09-24  3:45 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-23 18:54 Linux-2.4.10 Linus Torvalds
2001-09-23 16:41 ` Linux-2.4.10 Rob Landley
2001-09-23 21:32   ` Linux-2.4.10 André Dahlqvist
2001-09-23 21:54   ` Linux-2.4.10 Alan Cox
2001-09-23 21:30 ` Linux-2.4.10 + ext3 Michael Rothwell
2001-09-23 22:18   ` Gergely Nagy
2001-09-24  2:06   ` Linus Torvalds
2001-09-24  2:30     ` Aaron Lehmann
2001-09-24  3:45       ` Andrew Morton [this message]
2001-09-24  4:35         ` Simon Fowler
2001-09-24 20:40           ` Stephen C. Tweedie
2001-09-24  4:45         ` Aaron Lehmann
2001-09-24  5:19           ` Andrew Morton
2001-09-24 19:49             ` Jamie Lokier
2001-09-24 20:22               ` Chris Meadors
2001-09-24 21:57                 ` Jamie Lokier
2001-09-24 21:04               ` Andreas Dilger
2001-09-24 18:12       ` Linus Torvalds
2001-09-24 18:25         ` Alexander Viro
2001-09-26 16:49     ` Stephen C. Tweedie
2001-09-27 12:12       ` Jan Kara
2001-09-27 18:37         ` Stephen C. Tweedie
2001-09-23 21:54 ` Linux-2.4.10 Trond Myklebust
2001-09-23 22:34 ` Linux-2.4.10 David Woodhouse
2001-09-24  6:28   ` Linux-2.4.10 Erik Andersen
2001-09-24  6:48   ` Linux-2.4.10 David Woodhouse
2001-09-24 17:40     ` Linux-2.4.10 Erik Andersen
2001-09-24 17:41     ` Linux-2.4.10 David Woodhouse
2001-09-23 22:40 ` Linux-2.4.10 - necessary patches Eyal Lebedinsky
2001-09-24  0:04   ` Alan Cox
2001-09-24 14:42     ` Oliver Xymoron
2001-09-24  1:25 ` Linux-2.4.10 Matthias Andree
2001-09-24  2:26   ` Linux-2.4.10 Daniel T. Chen
2001-09-24  3:19     ` Linux-2.4.10 Matthias Andree
2001-09-24  2:57   ` Linux-2.4.10 Disconnect
2001-09-24 10:07     ` Linux-2.4.10 Matthias Andree
2001-09-27 12:17     ` Linux-2.4.10 Roeland Th. Jansen
2001-09-24  2:35 ` Linux-2.4.10 Naren Devaiah
2001-09-24  9:37 ` PATCH[2.4.9-pre14] Kill *writeonly* variable Martin Dalecki
2001-09-27 15:23 ` Linux-2.4.10 George R. Kasica
2001-09-27 15:27   ` Linux-2.4.10 Rik van Riel
2001-09-27 15:31   ` Linux-2.4.10 Bernd Petrovitsch
2001-09-27 15:49   ` Linux-2.4.10 John Jasen
2001-09-27 18:23   ` Linux-2.4.10 Petr Baudis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BAEAC52.677C064C@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=aaronl@vitelus.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox