Skip to contentSkip to conversation

logfs: remove from tree

PATCH In review Christoph Hellwig 5 participants 8 messages Sep 11, 2016 – Dec 1, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 logfs: remove from tree

Logfs was introduced to the kernel in 2009, and hasn't seen any non drive-by changes since 2012, while having lots of unsolved issues including the complete lack of error handling, with more and more issues popping up without any fixes.

The logfs.org domain has been bouncing from a mail, and the maintainer on the non-logfs.org domain hasn't repsonded to past queries either.

---
 Documentation/filesystems/00-INDEX  |    2 -
 Documentation/filesystems/logfs.txt |  241 ----
 MAINTAINERS                         |    8 -
 fs/Kconfig                          |    1 -
 fs/Makefile                         |    1 -
 fs/logfs/Kconfig                    |   17 -
 fs/logfs/Makefile                   |   13 -
 fs/logfs/compr.c                    |   95 --
 fs/logfs/dev_bdev.c                 |  322 -----
 fs/logfs/dev_mtd.c                  |  274 -----
 fs/logfs/dir.c                      |  797 ------------
 fs/logfs/file.c                     |  285 -----
 fs/logfs/gc.c                       |  732 -----------
 fs/logfs/inode.c                    |  428 -------
 fs/logfs/journal.c                  |  894 --------------
 fs/logfs/logfs.h                    |  735 -----------
 fs/logfs/logfs_abi.h                |  629 ----------
 fs/logfs/readwrite.c                | 2298 -----------------------------------
 fs/logfs/segment.c                  |  961 ---------------
 fs/logfs/super.c                    |  653 ----------
 20 files changed, 9386 deletions(-)
 delete mode 100644 Documentation/filesystems/logfs.txt
 delete mode 100644 fs/logfs/Kconfig
 delete mode 100644 fs/logfs/Makefile
 delete mode 100644 fs/logfs/compr.c
 delete mode 100644 fs/logfs/dev_bdev.c
 delete mode 100644 fs/logfs/dev_mtd.c
 delete mode 100644 fs/logfs/dir.c
 delete mode 100644 fs/logfs/file.c
 delete mode 100644 fs/logfs/gc.c
 delete mode 100644 fs/logfs/inode.c
 delete mode 100644 fs/logfs/journal.c
 delete mode 100644 fs/logfs/logfs.h
 delete mode 100644 fs/logfs/logfs_abi.h
 delete mode 100644 fs/logfs/readwrite.c
 delete mode 100644 fs/logfs/segment.c
 delete mode 100644 fs/logfs/super.c
Documentation/filesystems/00-INDEX +0 -2
index 9922939..1db2c4a 100644
@@ -89,8 +89,6 @@ jfs.txt
 	- info and mount options for the JFS filesystem.
 locks.txt
 	- info on file locking implementations, flock() vs. fcntl(), etc.
-logfs.txt
-	- info on the LogFS flash filesystem.
 mandatory-locking.txt
 	- info on the Linux implementation of Sys V mandatory file locking.
 ncpfs.txt
Documentation/filesystems/logfs.txt deleted +0 -241

241 lines not on this page · raw message

MAINTAINERS +0 -8
index 6781a3f..9d9bfa6 100644
@@ -7228,14 +7228,6 @@ S:	Maintained
 F:	Documentation/ldm.txt
 F:	block/partitions/ldm.*
 
-LogFS
-M:	Joern Engel <[email protected]>
-M:	Prasad Joshi <[email protected]>
-L:	[email protected]
-W:	logfs.org
-S:	Maintained
-F:	fs/logfs/
-
 LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI)
 M:	Sathya Prakash <[email protected]>
 M:	Chaitra P B <[email protected]>
fs/Kconfig +0 -1
index 2bc7ad7..b4232e8 100644
@@ -231,7 +231,6 @@ source "fs/efs/Kconfig"
 source "fs/jffs2/Kconfig"
 # UBIFS File system configuration
 source "fs/ubifs/Kconfig"
-source "fs/logfs/Kconfig"
 source "fs/cramfs/Kconfig"
 source "fs/squashfs/Kconfig"
 source "fs/freevxfs/Kconfig"
fs/Makefile +0 -1
index ed2b632..7bbaca9 100644
@@ -97,7 +97,6 @@ obj-$(CONFIG_NTFS_FS)		+= ntfs/
 obj-$(CONFIG_UFS_FS)		+= ufs/
 obj-$(CONFIG_EFS_FS)		+= efs/
 obj-$(CONFIG_JFFS2_FS)		+= jffs2/
-obj-$(CONFIG_LOGFS)		+= logfs/
 obj-$(CONFIG_UBIFS_FS)		+= ubifs/
 obj-$(CONFIG_AFFS_FS)		+= affs/
 obj-$(CONFIG_ROMFS_FS)		+= romfs/
fs/logfs/Kconfig deleted +0 -17
deleted file mode 100644
index 2b45031..0000000
@@ -1,17 +0,0 @@
-config LOGFS
-	tristate "LogFS file system"
-	depends on MTD || (!MTD && BLOCK)
-	select ZLIB_INFLATE
-	select ZLIB_DEFLATE
-	select CRC32
-	select BTREE
-	help
-	  Flash filesystem aimed to scale efficiently to large devices.
-	  In comparison to JFFS2 it offers significantly faster mount
-	  times and potentially less RAM usage, although the latter has
-	  not been measured yet.
-
-	  In its current state it is still very experimental and should
-	  not be used for other than testing purposes.
-
-	  If unsure, say N.
fs/logfs/Makefile deleted +0 -13
deleted file mode 100644
index 4820027..0000000
@@ -1,13 +0,0 @@
-obj-$(CONFIG_LOGFS)	+= logfs.o
-
-logfs-y	+= compr.o
-logfs-y	+= dir.o
-logfs-y	+= file.o
-logfs-y	+= gc.o
-logfs-y	+= inode.o
-logfs-y	+= journal.o
-logfs-y	+= readwrite.o
-logfs-y	+= segment.o
-logfs-y	+= super.o
-logfs-$(CONFIG_BLOCK)	+= dev_bdev.o
-logfs-$(CONFIG_MTD)	+= dev_mtd.o
fs/logfs/compr.c deleted +0 -95

95 lines not on this page · raw message

fs/logfs/dev_bdev.c deleted +0 -322

322 lines not on this page · raw message

fs/logfs/dev_mtd.c deleted +0 -274

274 lines not on this page · raw message

fs/logfs/dir.c deleted +0 -797

797 lines not on this page · raw message

fs/logfs/file.c deleted +0 -285

285 lines not on this page · raw message

fs/logfs/gc.c deleted +0 -732

732 lines not on this page · raw message

fs/logfs/inode.c deleted +0 -428

188 lines not on this page · raw message

fs/logfs/journal.c deleted +0 -894

894 lines not on this page · raw message

fs/logfs/logfs.h deleted +0 -735

735 lines not on this page · raw message

fs/logfs/logfs_abi.h deleted +0 -629

629 lines not on this page · raw message

fs/logfs/readwrite.c deleted +0 -2298

2,298 lines not on this page · raw message

fs/logfs/segment.c deleted +0 -961

961 lines not on this page · raw message

fs/logfs/super.c deleted +0 -653

653 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.1.4

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 22 lines · Christoph Hellwig

Logfs was introduced to the kernel in 2009, and hasn't seen any non drive-by changes since 2012, while having lots of unsolved issues including the complete lack of error handling, with more and more issues popping up without any fixes.

The logfs.org domain has been bouncing from a mail, and the maintainer on the non-logfs.org domain hasn't repsonded to past queries either.

---
 Documentation/filesystems/00-INDEX  |    2 -
 Documentation/filesystems/logfs.txt |  241 ----
 MAINTAINERS                         |    8 -
 fs/Kconfig                          |    1 -
 fs/Makefile                         |    1 -
 fs/logfs/Kconfig                    |   17 -
 fs/logfs/Makefile                   |   13 -
 fs/logfs/compr.c                    |   95 --
 fs/logfs/dev_bdev.c                 |  322 -----
 fs/logfs/dev_mtd.c                  |  274 -----
 fs/logfs/dir.c                      |  797 ------------
 fs/logfs/file.c                     |  285 -----
Quoted 8 lines
 fs/logfs/gc.c                       |  732 -----------
 fs/logfs/inode.c                    |  428 -------
 fs/logfs/journal.c                  |  894 --------------
 fs/logfs/logfs.h                    |  735 -----------
 fs/logfs/logfs_abi.h                |  629 ----------
 fs/logfs/readwrite.c                | 2298 -----------------------------------
 fs/logfs/segment.c                  |  961 ---------------
 fs/logfs/super.c                    |  653 ----------

Wasn't the lib/btree.c implementation introduced with and only used by logfs? Should that go as well?

Cheers,

Dave.

Signature · 2 lines
Dave Chinner
[email protected]
#2 lore raw
Quoted 2 lines · Dave Chinner

Wasn't the lib/btree.c implementation introduced with and only used by logfs? Should that go as well?

The qla2xxx SCSI target driver also uses the btree library.

#3 lore raw
In reply to Christoph Hellwig
Quoted 10 lines · Christoph Hellwig

Logfs was introduced to the kernel in 2009, and hasn't seen any non drive-by changes since 2012, while having lots of unsolved issues including the complete lack of error handling, with more and more issues popping up without any fixes.

The logfs.org domain has been bouncing from a mail, and the maintainer
on the non-logfs.org domain hasn't repsonded to past queries either.

Back in 2008 logfs and UBIFS were in sort of competing projects. I remember we inspected logfs code and tested it - we did not find proper wear-levelling and bad block handling, we did not see proper error handling, and it exploded when we were running relatively simple tests. We indicated this here in a very humble way to avoid the "conflict of interest" perseption:

https://lkml.org/lkml/2008/3/31/117

I did not follow logfs since then, but I think there wasn't much development since then and all these issue are still there. I mean, unless I am horribly mistaken, logfs does not really have the basic features of a flash file system and there is no point keeping it in the tree and consuming people's time maintaining it.

Artem.

#4 lore raw
Quoted 19 lines · Artem Bityutskiy
Quoted 10 lines · Christoph Hellwig

Logfs was introduced to the kernel in 2009, and hasn't seen any non drive-by changes since 2012, while having lots of unsolved issues including the complete lack of error handling, with more and more issues popping up without any fixes.

The logfs.org domain has been bouncing from a mail, and the maintainer
on the non-logfs.org domain hasn't repsonded to past queries either.

Back in 2008 logfs and UBIFS were in sort of competing projects. I remember we inspected logfs code and tested it - we did not find proper wear-levelling and bad block handling, we did not see proper error handling, and it exploded when we were running relatively simple tests. We indicated this here in a very humble way to avoid the "conflict of interest" perseption:

Quoted 8 lines

https://lkml.org/lkml/2008/3/31/117

I did not follow logfs since then, but I think there wasn't much development since then and all these issue are still there. I mean, unless I am horribly mistaken, logfs does not really have the basic features of a flash file system and there is no point keeping it in the tree and consuming people's time maintaining it.

FWIW, I tried testing it about a year ago, and got similar results both from the tests and from trying to contact the maintainer.

maintainer
#5 lore raw
In reply to Christoph Hellwig
Quoted 8 lines · Christoph Hellwig

Logfs was introduced to the kernel in 2009, and hasn't seen any non drive-by changes since 2012, while having lots of unsolved issues including the complete lack of error handling, with more and more issues popping up without any fixes.

The logfs.org domain has been bouncing from a mail, and the maintainer on the non-logfs.org domain hasn't repsonded to past queries either.

Quoted 7 lines
---
 Documentation/filesystems/00-INDEX  |    2 -
 Documentation/filesystems/logfs.txt |  241 ----
 MAINTAINERS                         |    8 -
 fs/Kconfig                          |    1 -
 fs/Makefile                         |    1 -

[snip]

IMO that's a plain and simple "just before -rc1" fodder, to be sent straight to Linus. No objections from me, anyway.

#6 lore raw
Quoted 2 lines · Al Viro

IMO that's a plain and simple "just before -rc1" fodder, to be sent straight to Linus. No objections from me, anyway.

It's "just after -rc2" now, but maybe it's still time for this trivial removal?

#7 lore raw
Quoted 6 lines · Christoph Hellwig
Quoted 2 lines · Al Viro

IMO that's a plain and simple "just before -rc1" fodder, to be sent straight to Linus. No objections from me, anyway.

It's "just after -rc2" now, but maybe it's still time for this trivial removal?

Now we're getting close to the end of this merge window, any chance you could queue it up for the next merge window?