* [PATCH/RFC] Delete JFFS (version 1)
@ 2006-12-12 12:39 Jeff Garzik
2006-12-12 12:56 ` Josh Boyer
` (3 more replies)
0 siblings, 4 replies; 16+ messages in thread
From: Jeff Garzik @ 2006-12-12 12:39 UTC (permalink / raw)
To: Linux Kernel, linux-fsdevel; +Cc: Andrew Morton, jffs-dev, David Woodhouse
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
I have created the 'kill-jffs' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
removes fs/jffs.
I argue that you can count the users (who aren't on 2.4) on one hand,
and developers don't seem to have cared for it in ages.
People are already talking about jffs2 replacements, so I propose we zap
jffs in 2.6.21.
Jeff
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 538 bytes --]
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 46f2a55..c008303 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -270,3 +270,10 @@ Why: The new layer 3 independant connection tracking replaces the old
Who: Patrick McHardy <kaber@trash.net>
---------------------------
+
+What: JFFS (version 1) filesystem
+When: 2.6.21
+Why: No users or developers
+Who: Jeff Garzik <jeff@garzik.org>
+
+---------------------------
^ permalink raw reply related [flat|nested] 16+ messages in thread* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 12:39 [PATCH/RFC] Delete JFFS (version 1) Jeff Garzik
@ 2006-12-12 12:56 ` Josh Boyer
2006-12-12 13:02 ` Jeff Garzik
2006-12-12 12:58 ` Jörn Engel
` (2 subsequent siblings)
3 siblings, 1 reply; 16+ messages in thread
From: Josh Boyer @ 2006-12-12 12:56 UTC (permalink / raw)
To: Jeff Garzik
Cc: Linux Kernel, linux-fsdevel, Andrew Morton, jffs-dev,
David Woodhouse
On 12/12/06, Jeff Garzik <jeff@garzik.org> wrote:
> I have created the 'kill-jffs' branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
> removes fs/jffs.
>
> I argue that you can count the users (who aren't on 2.4) on one hand,
> and developers don't seem to have cared for it in ages.
>
> People are already talking about jffs2 replacements, so I propose we zap
> jffs in 2.6.21.
I'm usually all for killing broken code, but JFFS isn't really broken
is it? Is there some burden it's causing by being in the kernel at
the moment?
josh
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 12:56 ` Josh Boyer
@ 2006-12-12 13:02 ` Jeff Garzik
2006-12-12 13:06 ` Josh Boyer
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Jeff Garzik @ 2006-12-12 13:02 UTC (permalink / raw)
To: Josh Boyer
Cc: Linux Kernel, linux-fsdevel, Andrew Morton, jffs-dev,
David Woodhouse
Josh Boyer wrote:
> On 12/12/06, Jeff Garzik <jeff@garzik.org> wrote:
>> I have created the 'kill-jffs' branch of
>> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
>> removes fs/jffs.
>>
>> I argue that you can count the users (who aren't on 2.4) on one hand,
>> and developers don't seem to have cared for it in ages.
>>
>> People are already talking about jffs2 replacements, so I propose we zap
>> jffs in 2.6.21.
>
> I'm usually all for killing broken code, but JFFS isn't really broken
> is it? Is there some burden it's causing by being in the kernel at
> the moment?
It's always been the case that we remove Linux kernel code when the
number of users (and more importantly, developers) drops to near-nil.
Every line of code is one more place you have to audit when code
changes, one more place to update each time the VFS API is touched.
When it's more likely to get struck by lightning than encounter
filesystem X on a random hard drive in the field, filesystem X need not
be in the kernel.
IMO, of course :)
Jeff
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 13:02 ` Jeff Garzik
@ 2006-12-12 13:06 ` Josh Boyer
2006-12-12 13:07 ` David Woodhouse
2006-12-12 13:09 ` Jeff Garzik
2006-12-12 17:01 ` Bill Nottingham
2 siblings, 1 reply; 16+ messages in thread
From: Josh Boyer @ 2006-12-12 13:06 UTC (permalink / raw)
To: Jeff Garzik
Cc: Linux Kernel, linux-fsdevel, Andrew Morton, jffs-dev,
David Woodhouse
On 12/12/06, Jeff Garzik <jeff@garzik.org> wrote:
> Josh Boyer wrote:
> > On 12/12/06, Jeff Garzik <jeff@garzik.org> wrote:
> >> I have created the 'kill-jffs' branch of
> >> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
> >> removes fs/jffs.
> >>
> >> I argue that you can count the users (who aren't on 2.4) on one hand,
> >> and developers don't seem to have cared for it in ages.
> >>
> >> People are already talking about jffs2 replacements, so I propose we zap
> >> jffs in 2.6.21.
> >
> > I'm usually all for killing broken code, but JFFS isn't really broken
> > is it? Is there some burden it's causing by being in the kernel at
> > the moment?
>
> It's always been the case that we remove Linux kernel code when the
> number of users (and more importantly, developers) drops to near-nil.
>
> Every line of code is one more place you have to audit when code
> changes, one more place to update each time the VFS API is touched.
Ok, I can buy that.
>
> When it's more likely to get struck by lightning than encounter
> filesystem X on a random hard drive in the field, filesystem X need not
> be in the kernel.
Or flash chip in this case ;)
josh
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 13:06 ` Josh Boyer
@ 2006-12-12 13:07 ` David Woodhouse
0 siblings, 0 replies; 16+ messages in thread
From: David Woodhouse @ 2006-12-12 13:07 UTC (permalink / raw)
To: Josh Boyer
Cc: Jeff Garzik, Linux Kernel, linux-fsdevel, Andrew Morton, jffs-dev
On Tue, 2006-12-12 at 07:06 -0600, Josh Boyer wrote:
> On 12/12/06, Jeff Garzik <jeff@garzik.org> wrote:
> > Josh Boyer wrote:
> > > On 12/12/06, Jeff Garzik <jeff@garzik.org> wrote:
> > >> I have created the 'kill-jffs' branch of
> > >> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
> > >> removes fs/jffs.
> > >>
> > >> I argue that you can count the users (who aren't on 2.4) on one hand,
> > >> and developers don't seem to have cared for it in ages.
> > >>
> > >> People are already talking about jffs2 replacements, so I propose we zap
> > >> jffs in 2.6.21.
> > >
> > > I'm usually all for killing broken code, but JFFS isn't really broken
> > > is it? Is there some burden it's causing by being in the kernel at
> > > the moment?
> >
> > It's always been the case that we remove Linux kernel code when the
> > number of users (and more importantly, developers) drops to near-nil.
> >
> > Every line of code is one more place you have to audit when code
> > changes, one more place to update each time the VFS API is touched.
>
> Ok, I can buy that.
>
> >
> > When it's more likely to get struck by lightning than encounter
> > filesystem X on a random hard drive in the field, filesystem X need not
> > be in the kernel.
>
> Or flash chip in this case ;)
More to the point, people have occasionally actually _used_ JFFS instead
of JFFS2. I'm all for removing it now.
--
dwmw2
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 13:02 ` Jeff Garzik
2006-12-12 13:06 ` Josh Boyer
@ 2006-12-12 13:09 ` Jeff Garzik
2006-12-12 17:01 ` Bill Nottingham
2 siblings, 0 replies; 16+ messages in thread
From: Jeff Garzik @ 2006-12-12 13:09 UTC (permalink / raw)
To: Josh Boyer
Cc: Linux Kernel, linux-fsdevel, Andrew Morton, jffs-dev,
David Woodhouse
Jeff Garzik wrote:
> When it's more likely to get struck by lightning than encounter
> filesystem X on a random hard drive in the field, filesystem X need not
> be in the kernel.
As people are already poking me:) I course meant "flash device" not
"hard drive".
SATA maintainer's curse, I suppose, to think of all storage devices as
hard drives, no matter how incorrect that might be :)
Jeff
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 13:02 ` Jeff Garzik
2006-12-12 13:06 ` Josh Boyer
2006-12-12 13:09 ` Jeff Garzik
@ 2006-12-12 17:01 ` Bill Nottingham
2006-12-12 17:20 ` Jeff Garzik
2006-12-12 17:28 ` Alan
2 siblings, 2 replies; 16+ messages in thread
From: Bill Nottingham @ 2006-12-12 17:01 UTC (permalink / raw)
To: Jeff Garzik
Cc: Josh Boyer, Linux Kernel, linux-fsdevel, Andrew Morton, jffs-dev,
David Woodhouse
Jeff Garzik (jeff@garzik.org) said:
> It's always been the case that we remove Linux kernel code when the
> number of users (and more importantly, developers) drops to near-nil.
So, drivers/net/3c501.c?
Bill
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 17:01 ` Bill Nottingham
@ 2006-12-12 17:20 ` Jeff Garzik
2006-12-12 17:28 ` Alan
1 sibling, 0 replies; 16+ messages in thread
From: Jeff Garzik @ 2006-12-12 17:20 UTC (permalink / raw)
To: Jeff Garzik, Josh Boyer, Linux Kernel, linux-fsdevel,
Andrew Morton, jffs-dev, David Woodhouse
Bill Nottingham wrote:
> Jeff Garzik (jeff@garzik.org) said:
>> It's always been the case that we remove Linux kernel code when the
>> number of users (and more importantly, developers) drops to near-nil.
>
> So, drivers/net/3c501.c?
Depends on how motivated Alan remains ;-) Historically, if the
developer is active, we have occasionally ignored the miniscule userbase.
Jeff
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 17:01 ` Bill Nottingham
2006-12-12 17:20 ` Jeff Garzik
@ 2006-12-12 17:28 ` Alan
2006-12-19 10:56 ` David Weinehall
1 sibling, 1 reply; 16+ messages in thread
From: Alan @ 2006-12-12 17:28 UTC (permalink / raw)
To: Bill Nottingham
Cc: Jeff Garzik, Josh Boyer, Linux Kernel, linux-fsdevel,
Andrew Morton, jffs-dev, David Woodhouse
On Tue, 12 Dec 2006 12:01:25 -0500
Bill Nottingham <notting@redhat.com> wrote:
> Jeff Garzik (jeff@garzik.org) said:
> > It's always been the case that we remove Linux kernel code when the
> > number of users (and more importantly, developers) drops to near-nil.
>
> So, drivers/net/3c501.c?
I think 3c501.c is a case where putting in an "If you use this email ..
or it will go away" might be a good idea indeed.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 17:28 ` Alan
@ 2006-12-19 10:56 ` David Weinehall
0 siblings, 0 replies; 16+ messages in thread
From: David Weinehall @ 2006-12-19 10:56 UTC (permalink / raw)
To: Alan
Cc: Bill Nottingham, Jeff Garzik, Josh Boyer, Linux Kernel,
linux-fsdevel, Andrew Morton, jffs-dev, David Woodhouse
On Tue, Dec 12, 2006 at 05:28:43PM +0000, Alan wrote:
> On Tue, 12 Dec 2006 12:01:25 -0500
> Bill Nottingham <notting@redhat.com> wrote:
>
> > Jeff Garzik (jeff@garzik.org) said:
> > > It's always been the case that we remove Linux kernel code when the
> > > number of users (and more importantly, developers) drops to near-nil.
> >
> > So, drivers/net/3c501.c?
>
> I think 3c501.c is a case where putting in an "If you use this email ..
> or it will go away" might be a good idea indeed.
Maybe even: "the people who are using 3c501's - please chime up and we'll
donate better cards to you."
After all, 3c501 is one of the crappier pieces of network cards,
I feel sorry for the people using them...
Regards: David
--
/) David Weinehall <tao@acc.umu.se> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 12:39 [PATCH/RFC] Delete JFFS (version 1) Jeff Garzik
2006-12-12 12:56 ` Josh Boyer
@ 2006-12-12 12:58 ` Jörn Engel
2006-12-12 17:53 ` Andrew Morton
2007-03-09 23:13 ` Stefan Monnier
3 siblings, 0 replies; 16+ messages in thread
From: Jörn Engel @ 2006-12-12 12:58 UTC (permalink / raw)
To: Jeff Garzik
Cc: Linux Kernel, linux-fsdevel, Andrew Morton, jffs-dev,
David Woodhouse
On Tue, 12 December 2006 07:39:26 -0500, Jeff Garzik wrote:
>
> I have created the 'kill-jffs' branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
> removes fs/jffs.
>
> I argue that you can count the users (who aren't on 2.4) on one hand,
> and developers don't seem to have cared for it in ages.
You can count them on one finger, I guess. The last time jffs was
proposed for removal, a single person said he still used it and would
like to keep it around. And I haven't seen any patches come forward since.
Jörn
--
Don't patch bad code, rewrite it.
-- Kernigham and Pike, according to Rusty
-
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] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 12:39 [PATCH/RFC] Delete JFFS (version 1) Jeff Garzik
2006-12-12 12:56 ` Josh Boyer
2006-12-12 12:58 ` Jörn Engel
@ 2006-12-12 17:53 ` Andrew Morton
2006-12-12 18:38 ` Josh Boyer
2007-03-09 23:13 ` Stefan Monnier
3 siblings, 1 reply; 16+ messages in thread
From: Andrew Morton @ 2006-12-12 17:53 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Linux Kernel, linux-fsdevel, jffs-dev, David Woodhouse
On Tue, 12 Dec 2006 07:39:26 -0500
Jeff Garzik <jeff@garzik.org> wrote:
> I have created the 'kill-jffs' branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
> removes fs/jffs.
>
> I argue that you can count the users (who aren't on 2.4) on one hand,
> and developers don't seem to have cared for it in ages.
>
> People are already talking about jffs2 replacements, so I propose we zap
> jffs in 2.6.21.
It would be good to provide unignorable notice of this in 2.6.20. Via a
loud printk, or perhaps even CONFIG_BROKEN or CONFIG_EMBEDDED.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 17:53 ` Andrew Morton
@ 2006-12-12 18:38 ` Josh Boyer
2006-12-12 21:49 ` Andreas Dilger
0 siblings, 1 reply; 16+ messages in thread
From: Josh Boyer @ 2006-12-12 18:38 UTC (permalink / raw)
To: Andrew Morton
Cc: Jeff Garzik, Linux Kernel, linux-fsdevel, jffs-dev,
David Woodhouse
On 12/12/06, Andrew Morton <akpm@osdl.org> wrote:
> On Tue, 12 Dec 2006 07:39:26 -0500
> Jeff Garzik <jeff@garzik.org> wrote:
>
> > I have created the 'kill-jffs' branch of
> > git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
> > removes fs/jffs.
> >
> > I argue that you can count the users (who aren't on 2.4) on one hand,
> > and developers don't seem to have cared for it in ages.
> >
> > People are already talking about jffs2 replacements, so I propose we zap
> > jffs in 2.6.21.
>
> It would be good to provide unignorable notice of this in 2.6.20. Via a
> loud printk, or perhaps even CONFIG_BROKEN or CONFIG_EMBEDDED.
Something like the below?
Make CONFIG_JFFS depend on CONFIG_BROKEN
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
diff --git a/fs/Kconfig b/fs/Kconfig
index b3b5aa0..4ac367d 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1204,13 +1204,16 @@ config EFS_FS
config JFFS_FS
tristate "Journalling Flash File System (JFFS) support"
- depends on MTD && BLOCK
+ depends on MTD && BLOCK && BROKEN
help
JFFS is the Journalling Flash File System developed by Axis
Communications in Sweden, aimed at providing a crash/powerdown-safe
file system for disk-less embedded devices. Further information is
available at (<http://developer.axis.com/software/jffs/>).
+ NOTE: This filesystem is deprecated and is scheduled for removal in
+ 2.6.21. See Documentation/feature-removal-schedule.txt
+
config JFFS_FS_VERBOSE
int "JFFS debugging verbosity (0 = quiet, 3 = noisy)"
depends on JFFS_FS
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 18:38 ` Josh Boyer
@ 2006-12-12 21:49 ` Andreas Dilger
2006-12-13 7:06 ` Jörn Engel
0 siblings, 1 reply; 16+ messages in thread
From: Andreas Dilger @ 2006-12-12 21:49 UTC (permalink / raw)
To: Josh Boyer
Cc: Andrew Morton, Jeff Garzik, Linux Kernel, linux-fsdevel, jffs-dev,
David Woodhouse
On Dec 12, 2006 12:38 -0600, Josh Boyer wrote:
> On 12/12/06, Andrew Morton <akpm@osdl.org> wrote:
> >It would be good to provide unignorable notice of this in 2.6.20. Via a
> >loud printk, or perhaps even CONFIG_BROKEN or CONFIG_EMBEDDED.
>
> Something like the below?
>
> Make CONFIG_JFFS depend on CONFIG_BROKEN
>
> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
>
> diff --git a/fs/Kconfig b/fs/Kconfig
> index b3b5aa0..4ac367d 100644
> --- a/fs/Kconfig
> +++ b/fs/Kconfig
> @@ -1204,13 +1204,16 @@ config EFS_FS
>
> config JFFS_FS
> tristate "Journalling Flash File System (JFFS) support"
> - depends on MTD && BLOCK
> + depends on MTD && BLOCK && BROKEN
> help
> JFFS is the Journalling Flash File System developed by Axis
> Communications in Sweden, aimed at providing a crash/powerdown-safe
> file system for disk-less embedded devices. Further information is
> available at (<http://developer.axis.com/software/jffs/>).
>
> + NOTE: This filesystem is deprecated and is scheduled for removal in
> + 2.6.21. See Documentation/feature-removal-schedule.txt
> +
It would be better to have a printk in the module init, since users with
upstream builds won't see the config help.
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 21:49 ` Andreas Dilger
@ 2006-12-13 7:06 ` Jörn Engel
0 siblings, 0 replies; 16+ messages in thread
From: Jörn Engel @ 2006-12-13 7:06 UTC (permalink / raw)
To: Josh Boyer, Andrew Morton, Jeff Garzik, Linux Kernel,
linux-fsdevel, jffs-dev, David Woodhouse
On Tue, 12 December 2006 14:49:04 -0700, Andreas Dilger wrote:
>
> It would be better to have a printk in the module init, since users with
> upstream builds won't see the config help.
How many of those are there? This is not ext3, this is a flash
filesystem. Users are either those doing the upstream build or they
won't ever see a console. Think DSL-Router. ;)
Jörn
--
Joern's library part 14:
http://www.sandpile.org/
-
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] 16+ messages in thread
* Re: [PATCH/RFC] Delete JFFS (version 1)
2006-12-12 12:39 [PATCH/RFC] Delete JFFS (version 1) Jeff Garzik
` (2 preceding siblings ...)
2006-12-12 17:53 ` Andrew Morton
@ 2007-03-09 23:13 ` Stefan Monnier
3 siblings, 0 replies; 16+ messages in thread
From: Stefan Monnier @ 2007-03-09 23:13 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-fsdevel, jffs-dev
> I argue that you can count the users (who aren't on 2.4) on one hand, and
> developers don't seem to have cared for it in ages.
Rather than ask on mailing-lists, it's probably easier to just make the jffs
compilation fail (with a #error). This way, if someone uses it, he'll bump
into it, no matter how much he wants to ignore messages posted on
mailing-lists.
Stefan
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2007-03-09 23:13 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 12:39 [PATCH/RFC] Delete JFFS (version 1) Jeff Garzik
2006-12-12 12:56 ` Josh Boyer
2006-12-12 13:02 ` Jeff Garzik
2006-12-12 13:06 ` Josh Boyer
2006-12-12 13:07 ` David Woodhouse
2006-12-12 13:09 ` Jeff Garzik
2006-12-12 17:01 ` Bill Nottingham
2006-12-12 17:20 ` Jeff Garzik
2006-12-12 17:28 ` Alan
2006-12-19 10:56 ` David Weinehall
2006-12-12 12:58 ` Jörn Engel
2006-12-12 17:53 ` Andrew Morton
2006-12-12 18:38 ` Josh Boyer
2006-12-12 21:49 ` Andreas Dilger
2006-12-13 7:06 ` Jörn Engel
2007-03-09 23:13 ` Stefan Monnier
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).