linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
@ 2011-02-03 14:40 Jan Kara
  2011-02-03 15:08 ` Eric Sandeen
  0 siblings, 1 reply; 22+ messages in thread
From: Jan Kara @ 2011-02-03 14:40 UTC (permalink / raw)
  To: lsf-pc; +Cc: linux-fsdevel, linux-ext4, Andrew Morton

  Hi,

  I'm not completely sure this is interesting for enough people but maybe
it is...

As you well know, there are three independent code bases in kernel
implementing ext-based filesystems - ext2, ext3, and ext4. Of course it
costs some effort to maintain them all in a reasonably good condition so
once in a while someone comes and proposes we should drop one of ext2, ext3
or both. So I'd like to gather input what people think about this - should
we ever drop ext2 / ext3 codebases? If yes, under what condition do we deem
it is OK to drop it?

To give some facts:
Feature-wise, ext4 should now be almost a superset of both ext2 and
ext3. ext4 has nojournal mode to simulate ext2, looking at the code I only
don't see XIP support in ext4, arguably also nobh-mode but I personally
feel that these days the complication in the code isn't worth it. As far as
I know it should be backward compatible to writeably mount ext2/ext3
filesystem with ext4 (i.e., no incompatible features should be turned on
magically).

On the other hand there are differences noticeable under some conditions -
e.g. delayed allocation, data=ordered mode of ext3 gives better data
integrity than that of ext4 in practice (it's just a side effect we never
promised but app developers somehow got used to it ;), different allocation
decisions, and I believe there are more of these subtle differences.

Then of course there is the factor of the codebase itself: Ext2 - ~9k
lines, Ext3+JBD - 24k lines, Ext4+JBD2 - 43k lines. Ext2 codebase is so
simple that it sometimes serves as a "model filesystem". But arguably it
also bitrots slowly so copy-and-pasting from ext2 need not be clever idea
anymore.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 14:40 [LSF/MM TOPIC] Drop ext2/ext3 codebase? When? Jan Kara
@ 2011-02-03 15:08 ` Eric Sandeen
  2011-02-03 19:32   ` Michael Rubin
  2011-02-04 13:03   ` Jan Kara
  0 siblings, 2 replies; 22+ messages in thread
From: Eric Sandeen @ 2011-02-03 15:08 UTC (permalink / raw)
  To: Jan Kara; +Cc: lsf-pc, linux-fsdevel, linux-ext4, Andrew Morton

On 2/3/11 8:40 AM, Jan Kara wrote:
>   Hi,
> 
>   I'm not completely sure this is interesting for enough people but maybe
> it is...
> 
> As you well know, there are three independent code bases in kernel
> implementing ext-based filesystems - ext2, ext3, and ext4. Of course it
> costs some effort to maintain them all in a reasonably good condition so
> once in a while someone comes and proposes we should drop one of ext2, ext3
> or both. So I'd like to gather input what people think about this - should
> we ever drop ext2 / ext3 codebases? If yes, under what condition do we deem
> it is OK to drop it?
> 
> To give some facts:
> Feature-wise, ext4 should now be almost a superset of both ext2 and
> ext3. ext4 has nojournal mode to simulate ext2, looking at the code I only
> don't see XIP support in ext4, arguably also nobh-mode but I personally
> feel that these days the complication in the code isn't worth it. As far as
> I know it should be backward compatible to writeably mount ext2/ext3
> filesystem with ext4 (i.e., no incompatible features should be turned on
> magically).
> 
> On the other hand there are differences noticeable under some conditions -
> e.g. delayed allocation, data=ordered mode of ext3 gives better data
> integrity than that of ext4 in practice (it's just a side effect we never
> promised but app developers somehow got used to it ;), different allocation
> decisions, and I believe there are more of these subtle differences.

I think that ext4 with nodelalloc should mostly mimic ext3 in those
cases, no?

> Then of course there is the factor of the codebase itself: Ext2 - ~9k
> lines, Ext3+JBD - 24k lines, Ext4+JBD2 - 43k lines. Ext2 codebase is so
> simple that it sometimes serves as a "model filesystem". But arguably it
> also bitrots slowly so copy-and-pasting from ext2 need not be clever idea
> anymore.

Yep at one point it was asserted that ext2 was a model filesystem and should
therefore be kept around, but I agree with you that it may not really 
serve that purpose too well.

While I'm no fan of having 3 kinda-similar codebases that must be maintained,
my concerns would be:

1) ext4 is still in active development, and may introduce instabilities
   that ext3 would otherwise avoid.

2) ext4's more, um ... unique option combinations probably get next to
   no testing in the real world.  So while we can say that noextent,
   nodelalloc is mostly like ext3, in practice, does that ever really
   get much testing?

If we can have a real plan for moving in this direction though, I'd
support it.  I'm just not sure how we get enough real testing under
our belts to be comfortable with dropping ext[23], especially as
most distros now default to ext4 anyway.

-Eric

> 								Honza


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 15:08 ` Eric Sandeen
@ 2011-02-03 19:32   ` Michael Rubin
  2011-02-03 19:49     ` Eric Sandeen
                       ` (2 more replies)
  2011-02-04 13:03   ` Jan Kara
  1 sibling, 3 replies; 22+ messages in thread
From: Michael Rubin @ 2011-02-03 19:32 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: Jan Kara, lsf-pc, linux-fsdevel, linux-ext4, Andrew Morton

On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> If we can have a real plan for moving in this direction though, I'd
> support it.  I'm just not sure how we get enough real testing under
> our belts to be comfortable with dropping ext[23], especially as
> most distros now default to ext4 anyway.

Eric what sort of testing are you looking for?

I admit I like having ext2 around for comparisons in bug situations.
It really helps to isolate the problem area. How painful is the
upkeep?

mrubin
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 19:32   ` Michael Rubin
@ 2011-02-03 19:49     ` Eric Sandeen
  2011-02-03 21:57       ` Amir Goldstein
  2011-02-04  0:04     ` Ted Ts'o
  2011-02-04 13:17     ` Jan Kara
  2 siblings, 1 reply; 22+ messages in thread
From: Eric Sandeen @ 2011-02-03 19:49 UTC (permalink / raw)
  To: Michael Rubin; +Cc: Jan Kara, lsf-pc, linux-fsdevel, linux-ext4, Andrew Morton

On 2/3/11 1:32 PM, Michael Rubin wrote:
> On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
>> If we can have a real plan for moving in this direction though, I'd
>> support it.  I'm just not sure how we get enough real testing under
>> our belts to be comfortable with dropping ext[23], especially as
>> most distros now default to ext4 anyway.
> 
> Eric what sort of testing are you looking for?

Anything, the more formal or more widespread the better.

I just don't think it's used much this way today...

We can start with xfstests etc but I'd be more concerned about
unexpected behavioral or performance changes.

> I admit I like having ext2 around for comparisons in bug situations.
> It really helps to isolate the problem area. How painful is the
> upkeep?

since ext4 was merged, about 450 commits to ext2 & ext3 files.

since 2.6.32, about 150 commits.

Translating that into pain units, I dunno.  In distro-land, I often
have bugfixes that need to hit 2 or 3 of the filesystems as well.

-Eric

> mrubin
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 19:49     ` Eric Sandeen
@ 2011-02-03 21:57       ` Amir Goldstein
  2011-02-03 22:00         ` Eric Sandeen
  2011-02-04 13:59         ` Jan Kara
  0 siblings, 2 replies; 22+ messages in thread
From: Amir Goldstein @ 2011-02-03 21:57 UTC (permalink / raw)
  To: Eric Sandeen
  Cc: Michael Rubin, Jan Kara, lsf-pc, linux-fsdevel, linux-ext4,
	Andrew Morton

On Thu, Feb 3, 2011 at 9:49 PM, Eric Sandeen <sandeen@redhat.com> wrote:
>
> On 2/3/11 1:32 PM, Michael Rubin wrote:
> > On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> >> If we can have a real plan for moving in this direction though, I'd
> >> support it.  I'm just not sure how we get enough real testing under
> >> our belts to be comfortable with dropping ext[23], especially as
> >> most distros now default to ext4 anyway.
> >
> > Eric what sort of testing are you looking for?
>
> Anything, the more formal or more widespread the better.
>
> I just don't think it's used much this way today...
>
> We can start with xfstests etc but I'd be more concerned about
> unexpected behavioral or performance changes.
>
> > I admit I like having ext2 around for comparisons in bug situations.
> > It really helps to isolate the problem area. How painful is the
> > upkeep?
>
> since ext4 was merged, about 450 commits to ext2 & ext3 files.
>
> since 2.6.32, about 150 commits.
>

Can you give a rough estimate of how those commits diverge between
bugfixes, kernel API changes, code cleanups?

Next3 has been following ext3 since 2.6.31 and I remember changes of
the 2 latter,
but not many major bugfixes.

I hardly think we can get away with throwing out ext3 code base, but
maybe it can go
into bugfixes-only mode? that is unless Jan likes to apply cleanups ;-)

Amir.

> Translating that into pain units, I dunno.  In distro-land, I often
> have bugfixes that need to hit 2 or 3 of the filesystems as well.
>
> -Eric
>
> > mrubin
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 21:57       ` Amir Goldstein
@ 2011-02-03 22:00         ` Eric Sandeen
  2011-02-04 13:59         ` Jan Kara
  1 sibling, 0 replies; 22+ messages in thread
From: Eric Sandeen @ 2011-02-03 22:00 UTC (permalink / raw)
  To: Amir Goldstein
  Cc: Michael Rubin, Jan Kara, lsf-pc, linux-fsdevel, linux-ext4,
	Andrew Morton

On 2/3/11 3:57 PM, Amir Goldstein wrote:

> Can you give a rough estimate of how those commits diverge between
> bugfixes, kernel API changes, code cleanups?

Um, maybe by the time LSF rolls around ;) It'd take a while to sift
though.
 
> Next3 has been following ext3 since 2.6.31 and I remember changes of
> the 2 latter,
> but not many major bugfixes.
> 
> I hardly think we can get away with throwing out ext3 code base, but
> maybe it can go
> into bugfixes-only mode? that is unless Jan likes to apply cleanups ;-)

In theory that's what it's been for a couple years already :)

-Eric

> Amir.
> 

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 19:32   ` Michael Rubin
  2011-02-03 19:49     ` Eric Sandeen
@ 2011-02-04  0:04     ` Ted Ts'o
  2011-02-04 13:17     ` Jan Kara
  2 siblings, 0 replies; 22+ messages in thread
From: Ted Ts'o @ 2011-02-04  0:04 UTC (permalink / raw)
  To: Michael Rubin
  Cc: Eric Sandeen, Jan Kara, lsf-pc, linux-fsdevel, linux-ext4,
	Andrew Morton

On Thu, Feb 03, 2011 at 11:32:01AM -0800, Michael Rubin wrote:
> On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> > If we can have a real plan for moving in this direction though, I'd
> > support it.  I'm just not sure how we get enough real testing under
> > our belts to be comfortable with dropping ext[23], especially as
> > most distros now default to ext4 anyway.
> 
> Eric what sort of testing are you looking for?

The biggest problem in my opinion is that we have a large set of
options, and we don't necessarily test all of them.  The options that
I normaly test is

   * 4k blocksize, with journal, extents
   * 1k blocksize, with journal, extents (this helps flush out problems
		   that show up architectures with 16k page size and
		   4k block sizes, i.e., Power PC and Itanium)
   * 4k blocksize, no journal

Things that I should also test, but which take a lot longer:

   * nodelalloc (and combinatorics, 4k/1k blocksize, journal)
   * filesystem with extents disabled (with more combinatorics!)

I'll sometimes do these additional tests, but they're not part of my
regular test sets.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 15:08 ` Eric Sandeen
  2011-02-03 19:32   ` Michael Rubin
@ 2011-02-04 13:03   ` Jan Kara
  2011-02-04 17:36     ` Andreas Dilger
  1 sibling, 1 reply; 22+ messages in thread
From: Jan Kara @ 2011-02-04 13:03 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: Jan Kara, lsf-pc, linux-fsdevel, linux-ext4, Andrew Morton

On Thu 03-02-11 09:08:18, Eric Sandeen wrote:
> On 2/3/11 8:40 AM, Jan Kara wrote:
> > As you well know, there are three independent code bases in kernel
> > implementing ext-based filesystems - ext2, ext3, and ext4. Of course it
> > costs some effort to maintain them all in a reasonably good condition so
> > once in a while someone comes and proposes we should drop one of ext2, ext3
> > or both. So I'd like to gather input what people think about this - should
> > we ever drop ext2 / ext3 codebases? If yes, under what condition do we deem
> > it is OK to drop it?
> > 
> > To give some facts:
> > Feature-wise, ext4 should now be almost a superset of both ext2 and
> > ext3. ext4 has nojournal mode to simulate ext2, looking at the code I only
> > don't see XIP support in ext4, arguably also nobh-mode but I personally
> > feel that these days the complication in the code isn't worth it. As far as
> > I know it should be backward compatible to writeably mount ext2/ext3
> > filesystem with ext4 (i.e., no incompatible features should be turned on
> > magically).
> > 
> > On the other hand there are differences noticeable under some conditions -
> > e.g. delayed allocation, data=ordered mode of ext3 gives better data
> > integrity than that of ext4 in practice (it's just a side effect we never
> > promised but app developers somehow got used to it ;), different allocation
> > decisions, and I believe there are more of these subtle differences.
> 
> I think that ext4 with nodelalloc should mostly mimic ext3 in those
> cases, no?
  Yeah, mostly. The biggest obstacle I see here is the different behavior
of mmap - with nodelalloc allocation happens at the time of page fault and
that fragments the file like hell for some kinds of load. Since ext3 here
essentially does delayed allocation, it might be useful to do delayed
allocation only from page fault path when we try to mimic ext3 behavior.
So mimicking ext3 is possible but needs some tweaks...

> > Then of course there is the factor of the codebase itself: Ext2 - ~9k
> > lines, Ext3+JBD - 24k lines, Ext4+JBD2 - 43k lines. Ext2 codebase is so
> > simple that it sometimes serves as a "model filesystem". But arguably it
> > also bitrots slowly so copy-and-pasting from ext2 need not be clever idea
> > anymore.
> 
> Yep at one point it was asserted that ext2 was a model filesystem and should
> therefore be kept around, but I agree with you that it may not really 
> serve that purpose too well.
> 
> While I'm no fan of having 3 kinda-similar codebases that must be maintained,
> my concerns would be:
> 
> 1) ext4 is still in active development, and may introduce instabilities
>    that ext3 would otherwise avoid.
  Sure but since ext4 is now pushed in RHEL, Fedora, openSUSE, Ubuntu, we
should be already really careful not to break stuff. I agree there is
higher potential for bugs in ext4 but sometime it should be good enough I
hope ;). And it's exactly this "sometime" which I'd like to get some
concesus on.

> 2) ext4's more, um ... unique option combinations probably get next to
>    no testing in the real world.  So while we can say that noextent,
>    nodelalloc is mostly like ext3, in practice, does that ever really
>    get much testing?
  Yes. We definitely cannot remove old codebase until the equivalent paths
in ext4 won't be beaten regularly and hard. So I agree there is definitely
lots of testing ahead if we decide to move towards removing old code.

> If we can have a real plan for moving in this direction though, I'd
> support it.  I'm just not sure how we get enough real testing under
> our belts to be comfortable with dropping ext[23], especially as
> most distros now default to ext4 anyway.
  Well, I believe this actually works for us. If the real users move to
ext4 (or a different fs), then it's easier to make ext[23] mode in ext4
good enough for the few legacy users...

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 19:32   ` Michael Rubin
  2011-02-03 19:49     ` Eric Sandeen
  2011-02-04  0:04     ` Ted Ts'o
@ 2011-02-04 13:17     ` Jan Kara
  2011-02-04 17:03       ` Ric Wheeler
  2011-02-12 11:05       ` Amir Goldstein
  2 siblings, 2 replies; 22+ messages in thread
From: Jan Kara @ 2011-02-04 13:17 UTC (permalink / raw)
  To: Michael Rubin
  Cc: Eric Sandeen, Jan Kara, lsf-pc, linux-fsdevel, linux-ext4,
	Andrew Morton

On Thu 03-02-11 11:32:01, Michael Rubin wrote:
> On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> > If we can have a real plan for moving in this direction though, I'd
> > support it.  I'm just not sure how we get enough real testing under
> > our belts to be comfortable with dropping ext[23], especially as
> > most distros now default to ext4 anyway.
> 
> Eric what sort of testing are you looking for?
I believe Ted wrote a good summary of what combinations of options would
need to be tested on a regular basis to get at least some confidence that
the switch could work.

> I admit I like having ext2 around for comparisons in bug situations.
> It really helps to isolate the problem area. How painful is the
> upkeep?
Well, for me it's a couple of hours per week on average I'd say. Plus
there is some work other people do when changing some VFS/MM interfaces
influencing all the filesystems.

The time I spend is enough to keep ext3 in a good shape I believe but I
have a feeling that ext2 is slowly bitrotting. Sometime when I look at
ext2 code I see stuff we simply do differently these days and that's just
a step away from the code getting broken... It would not be too much work
to clean things up and maintain but it's a work with no clear gain (if you
do the thankless job of maintaining old code, you should at least have
users who appreciate that ;) so naturally no one does it.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-03 21:57       ` Amir Goldstein
  2011-02-03 22:00         ` Eric Sandeen
@ 2011-02-04 13:59         ` Jan Kara
  1 sibling, 0 replies; 22+ messages in thread
From: Jan Kara @ 2011-02-04 13:59 UTC (permalink / raw)
  To: Amir Goldstein
  Cc: Eric Sandeen, Michael Rubin, Jan Kara, lsf-pc, linux-fsdevel,
	linux-ext4, Andrew Morton

On Thu 03-02-11 23:57:25, Amir Goldstein wrote:
> On Thu, Feb 3, 2011 at 9:49 PM, Eric Sandeen <sandeen@redhat.com> wrote:
> Can you give a rough estimate of how those commits diverge between
> bugfixes, kernel API changes, code cleanups?
> 
> Next3 has been following ext3 since 2.6.31 and I remember changes of
> the 2 latter, but not many major bugfixes.
  So I took the work and went through the commit log of ext3 since 2.6.19
(when ext4 was merged). We have
305 commits in total, from those are:
62 cleanups
113 bugfixes
105 changes because of API changing or other kernel-wide efforts
25 features, speedups, and similar

The cathegorization of commits is somewhat arbitrary in some cases but I
think the numbers should be roughly fair...

> I hardly think we can get away with throwing out ext3 code base, but
> maybe it can go into bugfixes-only mode? that is unless Jan likes to
> apply cleanups ;-)
  As you can see, it pretty much is. 25 feature commits in 5 years (and
those features are often like - report mount options in /proc/mounts,
unify error messages, avoid loading bitmap when block group is full, etc.)
is IMHO bugfixes-only mode if you don't want the filesystem to start
bitrotting. I've merged one bigger feature in last year and that was FITRIM
support on the grounds that it did not touch any code outside of FITRIM ioctl
handling itself. So when Lukas wanted to do the work with implementing it,
I was OK with it.

Sure I could be harder on people pushing cleanups on me but I don't want to
scare newbies away so I try to be nice and if the result actually is
better, I take it.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-04 13:17     ` Jan Kara
@ 2011-02-04 17:03       ` Ric Wheeler
  2011-02-04 17:17         ` [Lsf-pc] " James Bottomley
  2011-02-12 11:05       ` Amir Goldstein
  1 sibling, 1 reply; 22+ messages in thread
From: Ric Wheeler @ 2011-02-04 17:03 UTC (permalink / raw)
  To: Jan Kara
  Cc: Michael Rubin, Eric Sandeen, lsf-pc, linux-fsdevel, linux-ext4,
	Andrew Morton

On 02/04/2011 08:17 AM, Jan Kara wrote:
> On Thu 03-02-11 11:32:01, Michael Rubin wrote:
>> On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen<sandeen@redhat.com>  wrote:
>>> If we can have a real plan for moving in this direction though, I'd
>>> support it.  I'm just not sure how we get enough real testing under
>>> our belts to be comfortable with dropping ext[23], especially as
>>> most distros now default to ext4 anyway.
>> Eric what sort of testing are you looking for?
> I believe Ted wrote a good summary of what combinations of options would
> need to be tested on a regular basis to get at least some confidence that
> the switch could work.
>
>> I admit I like having ext2 around for comparisons in bug situations.
>> It really helps to isolate the problem area. How painful is the
>> upkeep?
> Well, for me it's a couple of hours per week on average I'd say. Plus
> there is some work other people do when changing some VFS/MM interfaces
> influencing all the filesystems.
>
> The time I spend is enough to keep ext3 in a good shape I believe but I
> have a feeling that ext2 is slowly bitrotting. Sometime when I look at
> ext2 code I see stuff we simply do differently these days and that's just
> a step away from the code getting broken... It would not be too much work
> to clean things up and maintain but it's a work with no clear gain (if you
> do the thankless job of maintaining old code, you should at least have
> users who appreciate that ;) so naturally no one does it.
>
> 								Honza

I would definitely be interesting in figuring out if and when we can drop one or 
both of ext2 and ext3. The number of actively supported file systems to test for 
correctness and performance is getting to be a challenge.

Great topic, might require beer though to be done right :)

ric


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-04 17:03       ` Ric Wheeler
@ 2011-02-04 17:17         ` James Bottomley
  2011-02-05 18:43           ` Trond Myklebust
  2011-02-07 17:21           ` Mingming Cao
  0 siblings, 2 replies; 22+ messages in thread
From: James Bottomley @ 2011-02-04 17:17 UTC (permalink / raw)
  To: Ric Wheeler
  Cc: Jan Kara, Eric Sandeen, Michael Rubin, lsf-pc, linux-fsdevel,
	Andrew Morton, linux-ext4

On Fri, 2011-02-04 at 12:03 -0500, Ric Wheeler wrote:
> On 02/04/2011 08:17 AM, Jan Kara wrote:
> > On Thu 03-02-11 11:32:01, Michael Rubin wrote:
> >> On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen<sandeen@redhat.com>  wrote:
> >>> If we can have a real plan for moving in this direction though, I'd
> >>> support it.  I'm just not sure how we get enough real testing under
> >>> our belts to be comfortable with dropping ext[23], especially as
> >>> most distros now default to ext4 anyway.
> >> Eric what sort of testing are you looking for?
> > I believe Ted wrote a good summary of what combinations of options would
> > need to be tested on a regular basis to get at least some confidence that
> > the switch could work.
> >
> >> I admit I like having ext2 around for comparisons in bug situations.
> >> It really helps to isolate the problem area. How painful is the
> >> upkeep?
> > Well, for me it's a couple of hours per week on average I'd say. Plus
> > there is some work other people do when changing some VFS/MM interfaces
> > influencing all the filesystems.
> >
> > The time I spend is enough to keep ext3 in a good shape I believe but I
> > have a feeling that ext2 is slowly bitrotting. Sometime when I look at
> > ext2 code I see stuff we simply do differently these days and that's just
> > a step away from the code getting broken... It would not be too much work
> > to clean things up and maintain but it's a work with no clear gain (if you
> > do the thankless job of maintaining old code, you should at least have
> > users who appreciate that ;) so naturally no one does it.
> >
> > 								Honza
> 
> I would definitely be interesting in figuring out if and when we can drop one or 
> both of ext2 and ext3. The number of actively supported file systems to test for 
> correctness and performance is getting to be a challenge.

ext2 yes ... I think there's no way we can drop ext3: it's still a
current default filesystem for most distributions.  Now, if we discuss
dropping ext2 and working out an end of life plan for ext3 (for the
feature removals schedule) so we don't eventually get into the same
position with it as we are with ext2, then this sounds like a plan.

> Great topic, might require beer though to be done right :)

I'm invoking the anti-discrimination statutes here on behalf of those of
us who don't like beer.

James



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-04 13:03   ` Jan Kara
@ 2011-02-04 17:36     ` Andreas Dilger
  2011-02-07 16:19       ` Jan Kara
  0 siblings, 1 reply; 22+ messages in thread
From: Andreas Dilger @ 2011-02-04 17:36 UTC (permalink / raw)
  To: Jan Kara
  Cc: Eric Sandeen, Jan Kara, lsf-pc@lists.linuxfoundation.org,
	linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org,
	Andrew Morton

On 2011-02-04, at 6:03, Jan Kara <jack@suse.cz> wrote:
>> I think that ext4 with nodelalloc should mostly mimic ext3 in those
>> cases, no?
>  Yeah, mostly. The biggest obstacle I see here is the different behavior
> of mmap - with nodelalloc allocation happens at the time of page fault and
> that fragments the file like hell for some kinds of load. Since ext3 here
> essentially does delayed allocation, it might be useful to do delayed
> allocation only from page fault path when we try to mimic ext3 behavior.
> So mimicking ext3 is possible but needs some tweaks...

The question is whether we need to mimic the runtime behavior or just the on-disk format?  Apps already need to deal with ext4 and other fs that do not do ext3 ordered mode. 

>> If we can have a real plan for moving in this direction though, I'd
>> support it.  I'm just not sure how we get enough real testing under
>> our belts to be comfortable with dropping ext[23], especially as
>> most distros now default to ext4 anyway.
>  Well, I believe this actually works for us. If the real users move to
> ext4 (or a different fs), then it's easier to make ext[23] mode in ext4
> good enough for the few legacy users...

I think the best road forward is to make ext4 the default for ext2 and ext3 filesystems in newer kernels, and mark ext2 and ext3 obsolete. This will start to get usage and testing of these other config options. The ext2 mode is already heavily tested at Google, and don't they also test noextent mode on updated filesystems, or were all of the filesystems reformatted with ext4 options?

After some number of kernel releases with ext4 as the default, we could remove the ext2 and ext3 code. 

Cheers, Andreas. 

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-04 17:17         ` [Lsf-pc] " James Bottomley
@ 2011-02-05 18:43           ` Trond Myklebust
  2011-02-07 17:21           ` Mingming Cao
  1 sibling, 0 replies; 22+ messages in thread
From: Trond Myklebust @ 2011-02-05 18:43 UTC (permalink / raw)
  To: James Bottomley
  Cc: Ric Wheeler, Eric Sandeen, Michael Rubin, Jan Kara, lsf-pc,
	linux-fsdevel, Andrew Morton, linux-ext4

On Fri, 2011-02-04 at 11:17 -0600, James Bottomley wrote: 
> On Fri, 2011-02-04 at 12:03 -0500, Ric Wheeler wrote:
> > On 02/04/2011 08:17 AM, Jan Kara wrote:
> ext2 yes ... I think there's no way we can drop ext3: it's still a
> current default filesystem for most distributions.  Now, if we discuss
> dropping ext2 and working out an end of life plan for ext3 (for the
> feature removals schedule) so we don't eventually get into the same
> position with it as we are with ext2, then this sounds like a plan.
> 
> > Great topic, might require beer though to be done right :)
> 
> I'm invoking the anti-discrimination statutes here on behalf of those of
> us who don't like beer.

OK. I'm putting this as filesystems track only proposal, then...

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-04 17:36     ` Andreas Dilger
@ 2011-02-07 16:19       ` Jan Kara
  2011-02-07 16:35         ` Andreas Dilger
  0 siblings, 1 reply; 22+ messages in thread
From: Jan Kara @ 2011-02-07 16:19 UTC (permalink / raw)
  To: Andreas Dilger
  Cc: Jan Kara, Eric Sandeen, lsf-pc@lists.linuxfoundation.org,
	linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org,
	Andrew Morton

On Fri 04-02-11 10:36:21, Andreas Dilger wrote:
> On 2011-02-04, at 6:03, Jan Kara <jack@suse.cz> wrote:
> >> I think that ext4 with nodelalloc should mostly mimic ext3 in those
> >> cases, no?
> >  Yeah, mostly. The biggest obstacle I see here is the different behavior
> > of mmap - with nodelalloc allocation happens at the time of page fault and
> > that fragments the file like hell for some kinds of load. Since ext3 here
> > essentially does delayed allocation, it might be useful to do delayed
> > allocation only from page fault path when we try to mimic ext3 behavior.
> > So mimicking ext3 is possible but needs some tweaks...
> 
> The question is whether we need to mimic the runtime behavior or just the
> on-disk format?  Apps already need to deal with ext4 and other fs that do
> not do ext3 ordered mode. 
  Well written apps do, but badly written apps don't and e.g. our distro
customers don't always have the choice of the application. So as a developer
I see your point (screw stupidly written apps) but in the real world, I'm
afraid it's too hard on users.

> >> If we can have a real plan for moving in this direction though, I'd
> >> support it.  I'm just not sure how we get enough real testing under
> >> our belts to be comfortable with dropping ext[23], especially as
> >> most distros now default to ext4 anyway.
> >  Well, I believe this actually works for us. If the real users move to
> > ext4 (or a different fs), then it's easier to make ext[23] mode in ext4
> > good enough for the few legacy users...
> 
> I think the best road forward is to make ext4 the default for ext2 and
> ext3 filesystems in newer kernels, and mark ext2 and ext3 obsolete. This
> will start to get usage and testing of these other config options. The
> ext2 mode is already heavily tested at Google, and don't they also test
> noextent mode on updated filesystems, or were all of the filesystems
> reformatted with ext4 options?
  Yes, I know you are on relatively radical side ;). My position would be
to test ext4 for resonable combinations of options as ext2 driver and if
that works, switch ext2 as you describe. Then if it works fine for an year
or so, we can talk about ext3 but as James said, ext3 is still widely used
so there might be more friction on subtle runtime differences...

									Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-07 16:19       ` Jan Kara
@ 2011-02-07 16:35         ` Andreas Dilger
  2011-02-11 11:16           ` Jan Kara
  0 siblings, 1 reply; 22+ messages in thread
From: Andreas Dilger @ 2011-02-07 16:35 UTC (permalink / raw)
  To: Jan Kara; +Cc: Eric Sandeen, Linux FS Devel, ext4 List, Andrew Morton

On 2011-02-07, at 08:19, Jan Kara wrote:
> On Fri 04-02-11 10:36:21, Andreas Dilger wrote:
>> The question is whether we need to mimic the runtime behavior or just the
>> on-disk format?  Apps already need to deal with ext4 and other fs that do
>> not do ext3 ordered mode.
> 
>  Well written apps do, but badly written apps don't and e.g. our distro
> customers don't always have the choice of the application. So as a developer
> I see your point (screw stupidly written apps) but in the real world, I'm
> afraid it's too hard on users.

We have to remember that this is only for new kernels, and does not affect older kernels or existing applications, so such users shouldn't be affected.

>> I think the best road forward is to make ext4 the default for ext2 and
>> ext3 filesystems in newer kernels, and mark ext2 and ext3 obsolete. This
>> will start to get usage and testing of these other config options. The
>> ext2 mode is already heavily tested at Google, and don't they also test
>> noextent mode on updated filesystems, or were all of the filesystems
>> reformatted with ext4 options?
> 
>  Yes, I know you are on relatively radical side ;). My position would be
> to test ext4 for resonable combinations of options as ext2 driver and if
> that works, switch ext2 as you describe. Then if it works fine for an year
> or so, we can talk about ext3 but as James said, ext3 is still widely used
> so there might be more friction on subtle runtime differences...

Since most new distros use ext4 by default, the point is kind of moot, because those users will get this behaviour in any case.  Relatively few users upgrade their kernel on a production system after it is installed, except for errata kernels, and I definitely wouldn't expect such a change to appear in an errata kernel.

Cheers, Andreas






^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-04 17:17         ` [Lsf-pc] " James Bottomley
  2011-02-05 18:43           ` Trond Myklebust
@ 2011-02-07 17:21           ` Mingming Cao
  1 sibling, 0 replies; 22+ messages in thread
From: Mingming Cao @ 2011-02-07 17:21 UTC (permalink / raw)
  To: James Bottomley
  Cc: Ric Wheeler, Jan Kara, Eric Sandeen, Michael Rubin, lsf-pc,
	linux-fsdevel, Andrew Morton, linux-ext4

On Fri, 2011-02-04 at 11:17 -0600, James Bottomley wrote:
> On Fri, 2011-02-04 at 12:03 -0500, Ric Wheeler wrote:
> > On 02/04/2011 08:17 AM, Jan Kara wrote:
> > > On Thu 03-02-11 11:32:01, Michael Rubin wrote:
> > >> On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen<sandeen@redhat.com>  wrote:
> > >>> If we can have a real plan for moving in this direction though, I'd
> > >>> support it.  I'm just not sure how we get enough real testing under
> > >>> our belts to be comfortable with dropping ext[23], especially as
> > >>> most distros now default to ext4 anyway.
> > >> Eric what sort of testing are you looking for?
> > > I believe Ted wrote a good summary of what combinations of options would
> > > need to be tested on a regular basis to get at least some confidence that
> > > the switch could work.
> > >
> > >> I admit I like having ext2 around for comparisons in bug situations.
> > >> It really helps to isolate the problem area. How painful is the
> > >> upkeep?
> > > Well, for me it's a couple of hours per week on average I'd say. Plus
> > > there is some work other people do when changing some VFS/MM interfaces
> > > influencing all the filesystems.
> > >
> > > The time I spend is enough to keep ext3 in a good shape I believe but I
> > > have a feeling that ext2 is slowly bitrotting. Sometime when I look at
> > > ext2 code I see stuff we simply do differently these days and that's just
> > > a step away from the code getting broken... It would not be too much work
> > > to clean things up and maintain but it's a work with no clear gain (if you
> > > do the thankless job of maintaining old code, you should at least have
> > > users who appreciate that ;) so naturally no one does it.
> > >
> > > 								Honza
> > 
> > I would definitely be interesting in figuring out if and when we can drop one or 
> > both of ext2 and ext3. The number of actively supported file systems to test for 
> > correctness and performance is getting to be a challenge.
> 
> ext2 yes ... I think there's no way we can drop ext3: it's still a
> current default filesystem for most distributions.  Now, if we discuss
> dropping ext2 and working out an end of life plan for ext3 (for the
> feature removals schedule) so we don't eventually get into the same
> position with it as we are with ext2, then this sounds like a plan.
> 

I second this. Clearly we see ext2 is sunsetting, especially given ext4
has no journal mode already. For ext3, it still widely used by many
users, though we have a way to migrate ext3 to ext4 there but still it
require quit brainstorming to figure out what need to improve in ext4 to
handle ext3 filesystem files more smoothly. Having a plan discussion
sounds interesting to me.

Mingming

> > Great topic, might require beer though to be done right :)
> 
> I'm invoking the anti-discrimination statutes here on behalf of those of
> us who don't like beer.
> 
> James
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-07 16:35         ` Andreas Dilger
@ 2011-02-11 11:16           ` Jan Kara
  2011-02-11 18:44             ` Michael Rubin
  0 siblings, 1 reply; 22+ messages in thread
From: Jan Kara @ 2011-02-11 11:16 UTC (permalink / raw)
  To: Andreas Dilger
  Cc: Jan Kara, Eric Sandeen, Linux FS Devel, ext4 List, Andrew Morton

On Mon 07-02-11 08:35:31, Andreas Dilger wrote:
> On 2011-02-07, at 08:19, Jan Kara wrote:
> > On Fri 04-02-11 10:36:21, Andreas Dilger wrote:
> >> The question is whether we need to mimic the runtime behavior or just the
> >> on-disk format?  Apps already need to deal with ext4 and other fs that do
> >> not do ext3 ordered mode.
> > 
> >  Well written apps do, but badly written apps don't and e.g. our distro
> > customers don't always have the choice of the application. So as a developer
> > I see your point (screw stupidly written apps) but in the real world, I'm
> > afraid it's too hard on users.
> 
> We have to remember that this is only for new kernels, and does not
> affect older kernels or existing applications, so such users shouldn't be
> affected.
  Well, customers do upgrade distros and that means they get new kernels
but still they are bound to use the same app from their ISV so I don't
think there won't be users hitting this.

> >> I think the best road forward is to make ext4 the default for ext2 and
> >> ext3 filesystems in newer kernels, and mark ext2 and ext3 obsolete. This
> >> will start to get usage and testing of these other config options. The
> >> ext2 mode is already heavily tested at Google, and don't they also test
> >> noextent mode on updated filesystems, or were all of the filesystems
> >> reformatted with ext4 options?
> > 
> >  Yes, I know you are on relatively radical side ;). My position would be
> > to test ext4 for resonable combinations of options as ext2 driver and if
> > that works, switch ext2 as you describe. Then if it works fine for an year
> > or so, we can talk about ext3 but as James said, ext3 is still widely used
> > so there might be more friction on subtle runtime differences...
> 
> Since most new distros use ext4 by default, the point is kind of moot,
> because those users will get this behaviour in any case.  Relatively few
> users upgrade their kernel on a production system after it is installed,
> except for errata kernels, and I definitely wouldn't expect such a change
> to appear in an errata kernel.
Umm, lot of our customers upgrade even production systems (e.g. SLE10 SP3
-> SLE11 SP1 these days). But still, they keep the old filesystem (they do
not reformat their storage) because they were happy with how it worked. And
yes, they are happy about things that get better but loudly complain about
things that got worse for them.

Of course this does not have a perfect solution (someone will always
complain ;) but putting reasonable effort into making behavior of ext4
in the 'compatibility' mode not too much different from ext3 is IMHO decent
to users.

									Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-11 11:16           ` Jan Kara
@ 2011-02-11 18:44             ` Michael Rubin
  0 siblings, 0 replies; 22+ messages in thread
From: Michael Rubin @ 2011-02-11 18:44 UTC (permalink / raw)
  To: Jan Kara
  Cc: Andreas Dilger, Eric Sandeen, Linux FS Devel, ext4 List,
	Andrew Morton

Just as an aside, we just upgraded in place a large number of ext2
file systems to ext4. The process completed very smoothly and created
a performance boost for almost every workload we had.

I think keeping ext3 around is really convenient to compare against
ext4 as it becomes more mature, but outside of its academic use I
don't see any good reason to keep it around. With such an easy
migration path for users (mount as ext4 in place) I think an "end of
life" plan should not be that complicated and encouraged.

mrubin

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-04 13:17     ` Jan Kara
  2011-02-04 17:03       ` Ric Wheeler
@ 2011-02-12 11:05       ` Amir Goldstein
  2011-02-14 17:25         ` Jan Kara
  1 sibling, 1 reply; 22+ messages in thread
From: Amir Goldstein @ 2011-02-12 11:05 UTC (permalink / raw)
  To: Jan Kara
  Cc: Michael Rubin, Eric Sandeen, lsf-pc, linux-fsdevel, linux-ext4,
	Andrew Morton, Theodore Tso

On Fri, Feb 4, 2011 at 3:17 PM, Jan Kara <jack@suse.cz> wrote:
>
> On Thu 03-02-11 11:32:01, Michael Rubin wrote:
> > On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> > > If we can have a real plan for moving in this direction though, I'd
> > > support it.  I'm just not sure how we get enough real testing under
> > > our belts to be comfortable with dropping ext[23], especially as
> > > most distros now default to ext4 anyway.
> >
> > Eric what sort of testing are you looking for?
> I believe Ted wrote a good summary of what combinations of options would
> need to be tested on a regular basis to get at least some confidence that
> the switch could work.
>

So the problem is that people don'y have much incentive to test "ext3
mode" as long as they have, well, ext3.

I can offer an incentive in the form of snapshots support, which may
appeal for some users, to whom performance improvements is not a good
enough reason to upgrade their fs.

Most conveniently, ext4 snapshots is short of extents and delalloc
support at the moment, but the rest of the code, which was ported from
next3 is ready to be stabilized/cleaned up for submission.

So it can be claimed, that pursuing my cause, of pushing the snapshots
feature for early testers as soon as possible (i.e. before extent
move-on-write implementation), may also be beneficial to the cause of
getting "ext3 mode" tested by a larger number of users.

What do you say, Jan. Do you think that some of your upgrading
customers could be lured into using ext4 code if we offer them
snapshots in "ext3 mode"?

Amir.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-12 11:05       ` Amir Goldstein
@ 2011-02-14 17:25         ` Jan Kara
  2011-02-14 19:00           ` Amir Goldstein
  0 siblings, 1 reply; 22+ messages in thread
From: Jan Kara @ 2011-02-14 17:25 UTC (permalink / raw)
  To: Amir Goldstein
  Cc: Jan Kara, Michael Rubin, Eric Sandeen, lsf-pc, linux-fsdevel,
	linux-ext4, Andrew Morton, Theodore Tso

On Sat 12-02-11 13:05:02, Amir Goldstein wrote:
> On Fri, Feb 4, 2011 at 3:17 PM, Jan Kara <jack@suse.cz> wrote:
> >
> > On Thu 03-02-11 11:32:01, Michael Rubin wrote:
> > > On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> > > > If we can have a real plan for moving in this direction though, I'd
> > > > support it.  I'm just not sure how we get enough real testing under
> > > > our belts to be comfortable with dropping ext[23], especially as
> > > > most distros now default to ext4 anyway.
> > >
> > > Eric what sort of testing are you looking for?
> > I believe Ted wrote a good summary of what combinations of options would
> > need to be tested on a regular basis to get at least some confidence that
> > the switch could work.
> 
> So the problem is that people don'y have much incentive to test "ext3
> mode" as long as they have, well, ext3.
> 
> I can offer an incentive in the form of snapshots support, which may
> appeal for some users, to whom performance improvements is not a good
> enough reason to upgrade their fs.
> 
> Most conveniently, ext4 snapshots is short of extents and delalloc
> support at the moment, but the rest of the code, which was ported from
> next3 is ready to be stabilized/cleaned up for submission.
> 
> So it can be claimed, that pursuing my cause, of pushing the snapshots
> feature for early testers as soon as possible (i.e. before extent
> move-on-write implementation), may also be beneficial to the cause of
> getting "ext3 mode" tested by a larger number of users.
> 
> What do you say, Jan. Do you think that some of your upgrading
> customers could be lured into using ext4 code if we offer them
> snapshots in "ext3 mode"?
  Well, some people might be interested in snapshotting and might move to
ext4 for that reason but these would be mostly people installing new
systems anyway, not the ones just updating older systems. So I don't feel
this would be a major game changer... 

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [LSF/MM TOPIC] Drop ext2/ext3 codebase? When?
  2011-02-14 17:25         ` Jan Kara
@ 2011-02-14 19:00           ` Amir Goldstein
  0 siblings, 0 replies; 22+ messages in thread
From: Amir Goldstein @ 2011-02-14 19:00 UTC (permalink / raw)
  To: Jan Kara
  Cc: Michael Rubin, Eric Sandeen, lsf-pc, linux-fsdevel, linux-ext4,
	Andrew Morton, Theodore Tso

On Mon, Feb 14, 2011 at 7:25 PM, Jan Kara <jack@suse.cz> wrote:
> On Sat 12-02-11 13:05:02, Amir Goldstein wrote:
>> On Fri, Feb 4, 2011 at 3:17 PM, Jan Kara <jack@suse.cz> wrote:
>> >
>> > On Thu 03-02-11 11:32:01, Michael Rubin wrote:
>> > > On Thu, Feb 3, 2011 at 7:08 AM, Eric Sandeen <sandeen@redhat.com> wrote:
>> > > > If we can have a real plan for moving in this direction though, I'd
>> > > > support it.  I'm just not sure how we get enough real testing under
>> > > > our belts to be comfortable with dropping ext[23], especially as
>> > > > most distros now default to ext4 anyway.
>> > >
>> > > Eric what sort of testing are you looking for?
>> > I believe Ted wrote a good summary of what combinations of options would
>> > need to be tested on a regular basis to get at least some confidence that
>> > the switch could work.
>>
>> So the problem is that people don'y have much incentive to test "ext3
>> mode" as long as they have, well, ext3.
>>
>> I can offer an incentive in the form of snapshots support, which may
>> appeal for some users, to whom performance improvements is not a good
>> enough reason to upgrade their fs.
>>
>> Most conveniently, ext4 snapshots is short of extents and delalloc
>> support at the moment, but the rest of the code, which was ported from
>> next3 is ready to be stabilized/cleaned up for submission.
>>
>> So it can be claimed, that pursuing my cause, of pushing the snapshots
>> feature for early testers as soon as possible (i.e. before extent
>> move-on-write implementation), may also be beneficial to the cause of
>> getting "ext3 mode" tested by a larger number of users.
>>
>> What do you say, Jan. Do you think that some of your upgrading
>> customers could be lured into using ext4 code if we offer them
>> snapshots in "ext3 mode"?
>  Well, some people might be interested in snapshotting and might move to
> ext4 for that reason but these would be mostly people installing new
> systems anyway, not the ones just updating older systems. So I don't feel
> this would be a major game changer...
>

Yes, of course. Upgraders won't be the ones using snapshots.
My intension was to state that those people installing new systems to test
snapshots would be functioning as testers for "ext3 mode", because:
1. when no snapshots exists it boils down to testing "ext3 mode".
2. it is unlikely that snapshots will mask "ext3 mode" bugs.

So my claim is that "ext3 mode" would benefit from a transition period in which
snapshots and (extens,delalloc) are mutually exclusive in ext4.

Amir.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-02-14 19:00 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 14:40 [LSF/MM TOPIC] Drop ext2/ext3 codebase? When? Jan Kara
2011-02-03 15:08 ` Eric Sandeen
2011-02-03 19:32   ` Michael Rubin
2011-02-03 19:49     ` Eric Sandeen
2011-02-03 21:57       ` Amir Goldstein
2011-02-03 22:00         ` Eric Sandeen
2011-02-04 13:59         ` Jan Kara
2011-02-04  0:04     ` Ted Ts'o
2011-02-04 13:17     ` Jan Kara
2011-02-04 17:03       ` Ric Wheeler
2011-02-04 17:17         ` [Lsf-pc] " James Bottomley
2011-02-05 18:43           ` Trond Myklebust
2011-02-07 17:21           ` Mingming Cao
2011-02-12 11:05       ` Amir Goldstein
2011-02-14 17:25         ` Jan Kara
2011-02-14 19:00           ` Amir Goldstein
2011-02-04 13:03   ` Jan Kara
2011-02-04 17:36     ` Andreas Dilger
2011-02-07 16:19       ` Jan Kara
2011-02-07 16:35         ` Andreas Dilger
2011-02-11 11:16           ` Jan Kara
2011-02-11 18:44             ` Michael Rubin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).