linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Proposal and plan for ext2/3 future development work
@ 2006-06-28 23:55 Theodore Ts'o
  2006-06-30  1:14 ` Jeff Garzik
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Theodore Ts'o @ 2006-06-28 23:55 UTC (permalink / raw)
  To: linux-kernel


Given the recent discussion on LKML two weeks ago, it is clear that many
people feel they have a stake in the future development plans of the
ext2/ext3 filesystem, as it one of the most popular and commonly used
filesystems, particular amongst the kernel development community.  For
this reason, the stakes are higher than it would be for other
filesystems.  The concerns that were expressed can be summarized in the
following points:

	* Stability.  There is a concern that while we are adding new
		features, bugs might cause developers to lose work.
		This is particularly a concern given that 2.6 is a
		"stable" kernel series, but traditionally ext2/3
		developers have been very careful even during
		development series since kernel developers tend to get
		cranky when all of their filesystems get trashed.

	* Compatibility confusion.  While the ext2/3 superblock does
		have a very flexible and powerful system for
		indicating forwards and backwards compatibility, the
		possibility of user confusion has caused concern by
		some, to the point where there has been one proposal
		to deliberately break forwards compatibility in order
		to remove possible confusion about backwards
		compatibility.  This seems to be going too far,
		although we do need to warn against kernel and
		distribution-level code from blindly upgrading users'
		filesystems and removing the ability for those
		filesystems to be mounted on older systems without an
		explicit user approval step, preferably with tools
		that allow for easy upgrading and downgrading.

	* Code complexity.  There is a concern that unless the code is
		properly factored, that it may become difficult to
		read due to a lot of conditionals to support older
		filesystem formats.

Unfortunately, these various concerns were sometimes mixed together in
the discussion two months ago, and so it was hard to make progress.
Linus's concern seems to have been primarily the first point, with
perhaps a minor consideration of the 3rd.  Others dwelled very heavily
on the second point.

To address these issues, after discussing the matter amongst ourselves,
the ext2/3 developers would like to propose the following path forward.

1) The creation of a new filesystem codebase in the 2.6 kernel tree in
/usr/src/linux/fs/ext4 that will initially register itself as the
"ext3dev" filesystem.  This will be explicitly marked as an
CONFIG_EXPERIMENTAL filesystem, and will in affect be a "development
fork" of ext3.  A similar split of the fs/jbd will be made in order to
support 64-bit jbd, which will be used by fs/ext4 and future versions
of ocfs2.

2) Bug fixes to fix 32-bit cleanliness issues, security/oops problems
will go into fs/ext3, but all new development work will go into fs/ext4.
There is some question about whether relatively low risk features such
as slimming the extX in-core memory structure, and delayed allocation
for ext3, which have no format impacts, should go into fs/ext3, or
whether such enhancement should only benefit fs/ext4 users.  This is a
cost/benefit tradeoff for which the guidance of the LKML community about
whether the loss in code stability is worth the improvements to current
ext3 users, given the existence of the development branch.  

In addition, we are assuming that various "low risk" changes that do
involve format changes, such as support for higher resolution
timestamps, will _not_ get integrated into the fs/ext3 codebase, and
that people who want these features will have to use the
stable/development fs/ext4 codebase.

3) The ext4 code base will continue to mount older ext3 filesystems,
as this is necessary to ensure a future smooth upgrade path from ext3
to ext4 users.  In addition, once a feature is added to the ext3dev
filesystem, a huge amount of effort will be made to provide continuing
support for the filesystem format enhancements going forward, just as
we do with the syscall ABI.  (Emergencies might happen if we make a
major mistake and paint ourselves into a corner; but just as with
changes to the kernel/userspace ABI, if there is some question about
whether or not a particular filesystem format can be supported going
forward indefinitely, we will not push changes into the mainline
kernel until we are can be confident on this point.)

4) At some point, probably in 6-9 months when we are satisified with the
set of features that have been added to fs/ext4, and confident that the
filesystem format has stablized, we will submit a patch which causes the
fs/ext4 code to register itself as the ext4 filesystem.  The
implementation may still require some shakedown before we are all
confident that it is as stable as ext3 is today.  At that point, perhaps
12-18 months out, we may request that the code in fs/ext3/*.c be deleted
and that fs/ext4 register itself as supporting the ext3 filesystem as
well.

We believe this should satisfy most of the concerns that were
articulated, in particular those that Linus and Jeff were most concerned
about.  Comments are of course appreciated.

							- Ted


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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-28 23:55 Proposal and plan for ext2/3 future development work Theodore Ts'o
@ 2006-06-30  1:14 ` Jeff Garzik
  2006-06-30  1:59   ` Joel Becker
  2006-06-30 10:39 ` Andi Kleen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 15+ messages in thread
From: Jeff Garzik @ 2006-06-30  1:14 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-kernel

Theodore Ts'o wrote:
> To address these issues, after discussing the matter amongst ourselves,
> the ext2/3 developers would like to propose the following path forward.

Overall...  ACK from me.  Thanks for listening.


> 2) Bug fixes to fix 32-bit cleanliness issues, security/oops problems
> will go into fs/ext3, but all new development work will go into fs/ext4.
> There is some question about whether relatively low risk features such
> as slimming the extX in-core memory structure, and delayed allocation
> for ext3, which have no format impacts, should go into fs/ext3, or
> whether such enhancement should only benefit fs/ext4 users.  This is a
> cost/benefit tradeoff for which the guidance of the LKML community about
> whether the loss in code stability is worth the improvements to current
> ext3 users, given the existence of the development branch.  

Agreed overall, though specifically for delayed allocation I think 
that's an ext4 thing:

* First off, I'm a big fan of delalloc, and (like extents) definitely 
want to see the feature implemented
* Delayed allocation, properly done, requires careful interaction with 
VM writeback (memory pressure or normal writeout), and may require some 
minor changes to generic code in fs/* and mm/*
* Delayed allocation changes I/O ordering, and may require some retuning 
for workloads to remain optimal
* Delayed allocation changes data layout on disk.  HOPEFULLY for the 
better, but we won't know that until its been hammered a bit in the field.

So while I agree it has no format impacts, I also think it has a 
non-trivial -- and currently unknown -- impact on stable systems.

Also for the reasons listed, I think ext4 would be a far superior 
testbed for delalloc.


> In addition, we are assuming that various "low risk" changes that do
> involve format changes, such as support for higher resolution
> timestamps, will _not_ get integrated into the fs/ext3 codebase, and
> that people who want these features will have to use the
> stable/development fs/ext4 codebase.

ACK


> 3) The ext4 code base will continue to mount older ext3 filesystems,
> as this is necessary to ensure a future smooth upgrade path from ext3
> to ext4 users.  In addition, once a feature is added to the ext3dev
> filesystem, a huge amount of effort will be made to provide continuing
> support for the filesystem format enhancements going forward, just as
> we do with the syscall ABI.  (Emergencies might happen if we make a
> major mistake and paint ourselves into a corner; but just as with
> changes to the kernel/userspace ABI, if there is some question about
> whether or not a particular filesystem format can be supported going
> forward indefinitely, we will not push changes into the mainline
> kernel until we are can be confident on this point.)

ACK


> 4) At some point, probably in 6-9 months when we are satisified with the
> set of features that have been added to fs/ext4, and confident that the
> filesystem format has stablized, we will submit a patch which causes the
> fs/ext4 code to register itself as the ext4 filesystem.  The
> implementation may still require some shakedown before we are all
> confident that it is as stable as ext3 is today.  At that point, perhaps
> 12-18 months out, we may request that the code in fs/ext3/*.c be deleted
> and that fs/ext4 register itself as supporting the ext3 filesystem as
> well.

I continue to have a concern that it will become tougher over time to 
support all these features in the same codebase...  so consider this a 
reluctant "ACK" for this last paragraph.  :)

	Jeff



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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30  1:14 ` Jeff Garzik
@ 2006-06-30  1:59   ` Joel Becker
  2006-06-30 17:13     ` Badari Pulavarty
  0 siblings, 1 reply; 15+ messages in thread
From: Joel Becker @ 2006-06-30  1:59 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Theodore Ts'o, linux-kernel

On Thu, Jun 29, 2006 at 09:14:53PM -0400, Jeff Garzik wrote:
> Agreed overall, though specifically for delayed allocation I think 
> that's an ext4 thing:
> 
> * First off, I'm a big fan of delalloc, and (like extents) definitely 
> want to see the feature implemented
> * Delayed allocation, properly done, requires careful interaction with 
> VM writeback (memory pressure or normal writeout), and may require some 
> minor changes to generic code in fs/* and mm/*

	To be honest, I'd like to see more delayed allocation
infrastructure in the VFS itself.  XFS has to maintain an entire chunk
of state for it, and I suspect ext4 will as well.  I'd love to get
delayed allocation into OCFS2 someday.  Why not move to where we can
share the in-memory accounting code?
	Now, we'd probably want to start by prototyping it in ext4
directly.  Once it's stable as a filesystem feature, we can see where
XFS and ext4 overlap, etc, etc.  But I'd like to keep a more generic
direction in mind.

Joel

-- 

"The suffering man ought really to consume his own smoke; there is no 
 good in emitting smoke till you have made it into fire."
			- thomas carlyle

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127

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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-28 23:55 Proposal and plan for ext2/3 future development work Theodore Ts'o
  2006-06-30  1:14 ` Jeff Garzik
@ 2006-06-30 10:39 ` Andi Kleen
  2006-06-30 15:14   ` Theodore Tso
  2006-06-30 11:09 ` Patrick McFarland
  2006-07-24 13:04 ` Guillaume Chazarain
  3 siblings, 1 reply; 15+ messages in thread
From: Andi Kleen @ 2006-06-30 10:39 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-kernel

"Theodore Ts'o" <tytso@mit.edu> writes:
> 
> 1) The creation of a new filesystem codebase in the 2.6 kernel tree in
> /usr/src/linux/fs/ext4 that will initially register itself as the
> "ext3dev" 

Why not call it ext4 from the beginning too? Calling the directory
differently from the file system can only cause confusion.

I assume if it's marked very experimental people who value their data
will avoid it for the time being.

-Andi

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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-28 23:55 Proposal and plan for ext2/3 future development work Theodore Ts'o
  2006-06-30  1:14 ` Jeff Garzik
  2006-06-30 10:39 ` Andi Kleen
@ 2006-06-30 11:09 ` Patrick McFarland
  2006-06-30 23:44   ` Mingming Cao
  2006-07-24 13:04 ` Guillaume Chazarain
  3 siblings, 1 reply; 15+ messages in thread
From: Patrick McFarland @ 2006-06-30 11:09 UTC (permalink / raw)
  To: Theodore Ts'o, linux-kernel

On Wednesday 28 June 2006 19:55, you wrote:
> Given the recent discussion on LKML two weeks ago, it is clear that many
> people feel they have a stake in the future development plans of the
> ext2/ext3 filesystem, as it one of the most popular and commonly used
> filesystems, particular amongst the kernel development community.  For
> this reason, the stakes are higher than it would be for other
> filesystems.  

http://en.wikipedia.org/wiki/Ext4

-- 
Patrick McFarland || www.AdTerrasPerAspera.com
"Computer games don't affect kids; I mean if Pac-Man affected us as kids,
we'd all be running around in darkened rooms, munching magic pills and
listening to repetitive electronic music." -- Kristian Wilson, Nintendo,
Inc, 1989


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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30 10:39 ` Andi Kleen
@ 2006-06-30 15:14   ` Theodore Tso
  2006-07-01  9:42     ` Adrian Bunk
  0 siblings, 1 reply; 15+ messages in thread
From: Theodore Tso @ 2006-06-30 15:14 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel

On Fri, Jun 30, 2006 at 12:39:48PM +0200, Andi Kleen wrote:
> "Theodore Ts'o" <tytso@mit.edu> writes:
> > 
> > 1) The creation of a new filesystem codebase in the 2.6 kernel tree in
> > /usr/src/linux/fs/ext4 that will initially register itself as the
> > "ext3dev" 
> 
> Why not call it ext4 from the beginning too? Calling the directory
> differently from the file system can only cause confusion.
> 
> I assume if it's marked very experimental people who value their data
> will avoid it for the time being.

There were a lot of people who were concerned that simply marking it
CONFIG_EXPERIMENTAL might not be enough for to make it very clear that
the filesystem format is still changing.  In order to address this
concern, we want /etc/fstab to make it abundantly clear that the
filesystem format itself is not necessarily stable, and that new
features are being added that might not be supported on older
kernels.

In general the same old rules will apply in that unless you explicitly
enable a feature via tune2fs or at mke2fs-time, it should work on
older kernels (just as in theory all of the kernel code that we are
throwing willy-nilly into userpsace is **supposed** to be forward
compatible), but if we paint ourselves in the a corner, there may be a
reason why we have to break that compatibility promise.

							- Ted

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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30  1:59   ` Joel Becker
@ 2006-06-30 17:13     ` Badari Pulavarty
  2006-06-30 18:24       ` Joel Becker
  0 siblings, 1 reply; 15+ messages in thread
From: Badari Pulavarty @ 2006-06-30 17:13 UTC (permalink / raw)
  To: Joel Becker; +Cc: Jeff Garzik, Theodore Ts'o, lkml

On Thu, 2006-06-29 at 18:59 -0700, Joel Becker wrote:
> On Thu, Jun 29, 2006 at 09:14:53PM -0400, Jeff Garzik wrote:
> > Agreed overall, though specifically for delayed allocation I think 
> > that's an ext4 thing:
> > 
> > * First off, I'm a big fan of delalloc, and (like extents) definitely 
> > want to see the feature implemented
> > * Delayed allocation, properly done, requires careful interaction with 
> > VM writeback (memory pressure or normal writeout), and may require some 
> > minor changes to generic code in fs/* and mm/*
> 
> 	To be honest, I'd like to see more delayed allocation
> infrastructure in the VFS itself.  XFS has to maintain an entire chunk
> of state for it, and I suspect ext4 will as well.  I'd love to get
> delayed allocation into OCFS2 someday.  Why not move to where we can
> share the in-memory accounting code?
> 	Now, we'd probably want to start by prototyping it in ext4
> directly.  Once it's stable as a filesystem feature, we can see where
> XFS and ext4 overlap, etc, etc.  But I'd like to keep a more generic
> direction in mind.

I tried adding "delayed allocation" for ext3 earlier. Yes. VFS level
infrastructure would be nice. But, I haven't found much that we can
do at VFS - which is common across all the filesystems (except
mpage_writepage(s) handling). Most of the stuff is specific to 
filesystem implementation (even though it could be common) - coming
out with VFS level interfaces to suite all the different filesystem
delalloc would be *interesting* exercise.

If you have ideas on what are the common/generic stuff we can do in
VFS - I can take a look at it again :)

Thanks,
Badari


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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30 17:13     ` Badari Pulavarty
@ 2006-06-30 18:24       ` Joel Becker
  2006-06-30 19:17         ` Steve Lord
  2006-06-30 19:29         ` Badari Pulavarty
  0 siblings, 2 replies; 15+ messages in thread
From: Joel Becker @ 2006-06-30 18:24 UTC (permalink / raw)
  To: Badari Pulavarty; +Cc: Jeff Garzik, Theodore Ts'o, lkml

On Fri, Jun 30, 2006 at 10:13:06AM -0700, Badari Pulavarty wrote:
> I tried adding "delayed allocation" for ext3 earlier. Yes. VFS level
> infrastructure would be nice. But, I haven't found much that we can
> do at VFS - which is common across all the filesystems (except
> mpage_writepage(s) handling). Most of the stuff is specific to 
> filesystem implementation (even though it could be common) - coming
> out with VFS level interfaces to suite all the different filesystem
> delalloc would be *interesting* exercise.

	Well, to be fair, I'm just going by what little I know about
XFS.  They maintain a cache of all pages waiting on delayed allocation
for writepack.  Why have this entire cache (hash, list, whatever) when
we could create some state on in the pagecache?  We save a large chunk
of memory and some complex writeback code.  I suspect you were thinking
of this when you said "mpage_writepage(s) handling".  But this is a
large complexity win if we can do it.
	The same with metadata/data ordering issues.  ie, data=ordered
or even plain "creat(2); write(2)".  I don't know how generic the
ordering is for each filesystem, but there is always room for play.
	On-disk, of course each filesystem is going to be different.
I'm not sure we could fit a fully-generic aops->reserve_space() &
aops->commit_space() API.  But I don't think we need to.

Joel
-- 

"Well-timed silence hath more eloquence than speech."  
         - Martin Fraquhar Tupper

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127

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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30 18:24       ` Joel Becker
@ 2006-06-30 19:17         ` Steve Lord
  2006-06-30 19:29         ` Badari Pulavarty
  1 sibling, 0 replies; 15+ messages in thread
From: Steve Lord @ 2006-06-30 19:17 UTC (permalink / raw)
  To: Badari Pulavarty, Jeff Garzik, Theodore Ts'o, lkml

Joel Becker wrote:
> On Fri, Jun 30, 2006 at 10:13:06AM -0700, Badari Pulavarty wrote:
>> I tried adding "delayed allocation" for ext3 earlier. Yes. VFS level
>> infrastructure would be nice. But, I haven't found much that we can
>> do at VFS - which is common across all the filesystems (except
>> mpage_writepage(s) handling). Most of the stuff is specific to 
>> filesystem implementation (even though it could be common) - coming
>> out with VFS level interfaces to suite all the different filesystem
>> delalloc would be *interesting* exercise.
> 
> 	Well, to be fair, I'm just going by what little I know about
> XFS.  They maintain a cache of all pages waiting on delayed allocation
> for writepack.  Why have this entire cache (hash, list, whatever) when
> we could create some state on in the pagecache?  We save a large chunk
> of memory and some complex writeback code.  I suspect you were thinking
> of this when you said "mpage_writepage(s) handling".  But this is a
> large complexity win if we can do it.


No, XFS does not do this, when it gets asked to write out a page which is
delayed alloc, it goes and converts the delayed alloc extent to real disk
space. It then uses the page cache/buffer heads to find all the contiguous
pages which it can turn into a singe disk I/O. The code is made more complex
by other possible states for the data. The only information internal to XFS
though is its extent structures.

Steve

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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30 18:24       ` Joel Becker
  2006-06-30 19:17         ` Steve Lord
@ 2006-06-30 19:29         ` Badari Pulavarty
  1 sibling, 0 replies; 15+ messages in thread
From: Badari Pulavarty @ 2006-06-30 19:29 UTC (permalink / raw)
  To: Joel Becker; +Cc: Jeff Garzik, Theodore Ts'o, lkml

On Fri, 2006-06-30 at 11:24 -0700, Joel Becker wrote:
> On Fri, Jun 30, 2006 at 10:13:06AM -0700, Badari Pulavarty wrote:
> > I tried adding "delayed allocation" for ext3 earlier. Yes. VFS level
> > infrastructure would be nice. But, I haven't found much that we can
> > do at VFS - which is common across all the filesystems (except
> > mpage_writepage(s) handling). Most of the stuff is specific to 
> > filesystem implementation (even though it could be common) - coming
> > out with VFS level interfaces to suite all the different filesystem
> > delalloc would be *interesting* exercise.
> 
> 	Well, to be fair, I'm just going by what little I know about
> XFS.  They maintain a cache of all pages waiting on delayed allocation
> for writepack.  Why have this entire cache (hash, list, whatever) when
> we could create some state on in the pagecache?  We save a large chunk
> of memory and some complex writeback code.  I suspect you were thinking
> of this when you said "mpage_writepage(s) handling".  But this is a
> large complexity win if we can do it.
> 	The same with metadata/data ordering issues.  ie, data=ordered
> or even plain "creat(2); write(2)".  I don't know how generic the
> ordering is for each filesystem, but there is always room for play.
> 	On-disk, of course each filesystem is going to be different.
> I'm not sure we could fit a fully-generic aops->reserve_space() &
> aops->commit_space() API.  But I don't think we need to.

Unfortunately, I haven't looked at XFS delalloc implementation indetail
to understand what exact they would need from VFS (or could be pushed to
VFS). I purely tried to work with current ext3 code and current VFS
support. What I find is that -

1) Instead of allocating a block at prepare time, we need to be able to
"reserve" a block (so it won't file as part of writeback). And, as 
part of writeback - we need a way to figure out if a given page did
indeed really reserve the block. (we need to make sure the allocation
succeeds for those). We might need a pageflag for this (but I haven't
decided that its absolutely needed).

2) Needed a way to cluster bunch of (contig) pages and allocate disk
blocksfor those in a single shot - which is NOT a direct delalloc
requirement, but that is the whole reason for doing delalloc. 
(Suprana did few radix_tree interfaces for this).

Other than these general VFS level ones - I had to play with journal
lock ordering issues (very specific to ext3 stuff). To work around
the journalling issues, I had to do my own mpage_writepages() since 
the changes I need are specific to ext3 journalling - I am not sure
if they are going to be useful for other filesystems or not.

If you can think of general infrastructure you need for OCFS2, please
let me know - we can come with commonality.


Thanks,
Badari



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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30 11:09 ` Patrick McFarland
@ 2006-06-30 23:44   ` Mingming Cao
  0 siblings, 0 replies; 15+ messages in thread
From: Mingming Cao @ 2006-06-30 23:44 UTC (permalink / raw)
  To: Patrick McFarland; +Cc: Theodore Ts'o, linux-kernel

On Fri, 2006-06-30 at 07:09 -0400, Patrick McFarland wrote:
> On Wednesday 28 June 2006 19:55, you wrote:
> > Given the recent discussion on LKML two weeks ago, it is clear that many
> > people feel they have a stake in the future development plans of the
> > ext2/ext3 filesystem, as it one of the most popular and commonly used
> > filesystems, particular amongst the kernel development community.  For
> > this reason, the stakes are higher than it would be for other
> > filesystems.  
> 
> http://en.wikipedia.org/wiki/Ext4
> 

Thanks, another wiki page for this project is hosted at:
http://fedoraproject.org/wiki/ext3-devel

Current patch set is at
http://ext2.sourceforge.net/48bitext3/patches/latest/

and current e2fsprogs patch set is at 
http://ext2.sourceforge.net/48bitext3/patches/e2fsprogs/48bit-
e2fsprogs-1.39/


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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-30 15:14   ` Theodore Tso
@ 2006-07-01  9:42     ` Adrian Bunk
  2006-07-01 10:29       ` Theodore Tso
  0 siblings, 1 reply; 15+ messages in thread
From: Adrian Bunk @ 2006-07-01  9:42 UTC (permalink / raw)
  To: Theodore Tso, Andi Kleen, linux-kernel

On Fri, Jun 30, 2006 at 11:14:32AM -0400, Theodore Tso wrote:
> On Fri, Jun 30, 2006 at 12:39:48PM +0200, Andi Kleen wrote:
> > "Theodore Ts'o" <tytso@mit.edu> writes:
> > > 
> > > 1) The creation of a new filesystem codebase in the 2.6 kernel tree in
> > > /usr/src/linux/fs/ext4 that will initially register itself as the
> > > "ext3dev" 
> > 
> > Why not call it ext4 from the beginning too? Calling the directory
> > differently from the file system can only cause confusion.
> > 
> > I assume if it's marked very experimental people who value their data
> > will avoid it for the time being.
> 
> There were a lot of people who were concerned that simply marking it
> CONFIG_EXPERIMENTAL might not be enough for to make it very clear that
> the filesystem format is still changing.  In order to address this
> concern, we want /etc/fstab to make it abundantly clear that the
> filesystem format itself is not necessarily stable, and that new
> features are being added that might not be supported on older
> kernels.
>...

What about a dependency on CONFIG_BROKEN?

This will require everyone who wants to use it to manually edit the 
Kconfig file for removing the dependency - which sounds like a good 
idea.

> 							- Ted

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: Proposal and plan for ext2/3 future development work
  2006-07-01  9:42     ` Adrian Bunk
@ 2006-07-01 10:29       ` Theodore Tso
  0 siblings, 0 replies; 15+ messages in thread
From: Theodore Tso @ 2006-07-01 10:29 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andi Kleen, linux-kernel

On Sat, Jul 01, 2006 at 11:42:06AM +0200, Adrian Bunk wrote:
> > There were a lot of people who were concerned that simply marking it
> > CONFIG_EXPERIMENTAL might not be enough for to make it very clear that
> > the filesystem format is still changing.  In order to address this
> > concern, we want /etc/fstab to make it abundantly clear that the
> > filesystem format itself is not necessarily stable, and that new
> > features are being added that might not be supported on older
> > kernels.
> >...
> 
> What about a dependency on CONFIG_BROKEN?
> 
> This will require everyone who wants to use it to manually edit the 
> Kconfig file for removing the dependency - which sounds like a good 
> idea.

It's not broken; just experimental.  I think CONFIG_EXPERIMENTAL is
accurately describes the status of fs/ext4 as we plan it.  Patches
will be reviewed and tested via quilt series and/or git trees before
they get pushed to fs/ext4, so the expectation isn't that data will be
lost; only that if you want to downgrade to an earlier kernel, and
explicitly enable the latest bleeding edge feature, you might have to
do some work first.  (Which might be dump/reformat/restore, or it
might be "tune2fs -O ^new_feature /dev/sdXX; e2fsck /dev/sdXX" with a
development snapshot of e2fsprogs.)

						- Ted

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

* Re: Proposal and plan for ext2/3 future development work
  2006-06-28 23:55 Proposal and plan for ext2/3 future development work Theodore Ts'o
                   ` (2 preceding siblings ...)
  2006-06-30 11:09 ` Patrick McFarland
@ 2006-07-24 13:04 ` Guillaume Chazarain
  2006-07-24 18:11   ` Jeff Garzik
  3 siblings, 1 reply; 15+ messages in thread
From: Guillaume Chazarain @ 2006-07-24 13:04 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-kernel

Theodore Ts'o wrote:
> 3) The ext4 code base will continue to mount older ext3 filesystems,

Everybody seems enthusiastic about this plan so I must have missed 
something, but
how will this compatibility prevent the ext4 code from looking like: 'if 
(ext4) { ... } else { /* ext3 */ ... }'?

Regards.

-- 
Guillaume


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

* Re: Proposal and plan for ext2/3 future development work
  2006-07-24 13:04 ` Guillaume Chazarain
@ 2006-07-24 18:11   ` Jeff Garzik
  0 siblings, 0 replies; 15+ messages in thread
From: Jeff Garzik @ 2006-07-24 18:11 UTC (permalink / raw)
  To: Guillaume Chazarain; +Cc: Theodore Ts'o, linux-kernel

Guillaume Chazarain wrote:
> Theodore Ts'o wrote:
>> 3) The ext4 code base will continue to mount older ext3 filesystems,
> 
> Everybody seems enthusiastic about this plan so I must have missed 
> something, but
> how will this compatibility prevent the ext4 code from looking like: 'if 
> (ext4) { ... } else { /* ext3 */ ... }'?

It doesn't.  But you can't win them all...

	Jeff




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

end of thread, other threads:[~2006-07-24 18:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28 23:55 Proposal and plan for ext2/3 future development work Theodore Ts'o
2006-06-30  1:14 ` Jeff Garzik
2006-06-30  1:59   ` Joel Becker
2006-06-30 17:13     ` Badari Pulavarty
2006-06-30 18:24       ` Joel Becker
2006-06-30 19:17         ` Steve Lord
2006-06-30 19:29         ` Badari Pulavarty
2006-06-30 10:39 ` Andi Kleen
2006-06-30 15:14   ` Theodore Tso
2006-07-01  9:42     ` Adrian Bunk
2006-07-01 10:29       ` Theodore Tso
2006-06-30 11:09 ` Patrick McFarland
2006-06-30 23:44   ` Mingming Cao
2006-07-24 13:04 ` Guillaume Chazarain
2006-07-24 18:11   ` Jeff Garzik

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