reiserfs: Deprecate reiserfs
Jan Kara
reviewerPATCH 1/1 reiserfs: Deprecate reiserfs
Reiserfs is relatively old filesystem and its development has ceased quite some years ago. Linux distributions moved away from it towards other filesystems such as btrfs, xfs, or ext4. To reduce maintenance burden on cross filesystem changes (such as new mount API, iomap, folios ...) let's add a deprecation notice when the filesystem is mounted and schedule its removal to 2024.
--- fs/reiserfs/Kconfig | 10 +++++++--- fs/reiserfs/super.c | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-)
Here's my suggestion for deprecating reiserfs. If nobody has reasons against this, I'll send the patch to Linus during the next merge window.
fs/reiserfs/Kconfig +7 -3
@@ -1,10 +1,14 @@ # SPDX-License-Identifier: GPL-2.0-only config REISERFS_FS - tristate "Reiserfs support" + tristate "Reiserfs support (deprecated)" select CRC32 help - Stores not just filenames but the files themselves in a balanced - tree. Uses journalling. + Reiserfs is deprecated and scheduled to be removed from the kernel + in 2024. If you are still using it, please migrate to another + filesystem or tell us your usecase for reiserfs. + + Reiserfs stores not just filenames but the files themselves in a + balanced tree. Uses journalling. Balanced trees are more efficient than traditional file system architectural foundations.
fs/reiserfs/super.c +2 -0
@@ -1652,6 +1652,8 @@ static int read_super_block(struct super_block *s, int offset)return 1 ; } +reiserfs_warning (NULL ,"" ,"reiserfs filesystem is deprecated and " +"scheduled to be removed from the kernel in 2024" );SB_BUFFER_WITH_SB (s) = bh;SB_DISK_SUPER_BLOCK (s) = rs;
Signature · 1 line
2.31.1
Quoted 6 lines · Jan Kara
Reiserfs is relatively old filesystem and its development has ceased quite some years ago. Linux distributions moved away from it towards other filesystems such as btrfs, xfs, or ext4. To reduce maintenance burden on cross filesystem changes (such as new mount API, iomap, folios ...) let's add a deprecation notice when the filesystem is mounted and schedule its removal to 2024.
Two years might be considered "short notice" for a filesystem, but I guess that people running it because it is stable will most likely also linger on stable kernels where it will live "maintained" for many years after it has been removed from the upstream code base.
Quoted 8 lines
Signed-off-by Jan Kara <[email protected]>--- fs/reiserfs/Kconfig | 10 +++++++--- fs/reiserfs/super.c | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-)Here's my suggestion for deprecating reiserfs. If nobody has reasons against this, I'll send the patch to Linus during the next merge window.
Is there a deprecation/removal schedule somewhere that documents stuff like this? We documented in the XFS section of the kernel admin guide (where we also document mount option and sysctl deprecation and removal schedules), but I don't think anything like that exists for reiserfs or for filesystems in general.
Other than that, the patch looks good.
Cheers,
Dave.
Quoted 40 lines
fs/reiserfs/Kconfig +7
-3@@ -1,10 +1,14 @@ # SPDX-License-Identifier: GPL-2.0-only config REISERFS_FS - tristate "Reiserfs support" + tristate "Reiserfs support (deprecated)" select CRC32 help - Stores not just filenames but the files themselves in a balanced - tree. Uses journalling. + Reiserfs is deprecated and scheduled to be removed from the kernel + in 2024. If you are still using it, please migrate to another + filesystem or tell us your usecase for reiserfs. + + Reiserfs stores not just filenames but the files themselves in a + balanced tree. Uses journalling. Balanced trees are more efficient than traditional file system architectural foundations.fs/reiserfs/super.c +2
-0@@ -1652,6 +1652,8 @@ static int read_super_block(struct super_block *s, int offset)return 1 ; } +reiserfs_warning (NULL ,"" ,"reiserfs filesystem is deprecated and " +"scheduled to be removed from the kernel in 2024" );SB_BUFFER_WITH_SB (s) = bh;SB_DISK_SUPER_BLOCK (s) = rs;Signature · 1 line
2.31.1
Signature · 2 lines
Dave Chinner [email protected]
Jan Kara
reviewerQuoted 8 lines · Dave Chinner
Quoted 6 lines · Jan Kara
Reiserfs is relatively old filesystem and its development has ceased quite some years ago. Linux distributions moved away from it towards other filesystems such as btrfs, xfs, or ext4. To reduce maintenance burden on cross filesystem changes (such as new mount API, iomap, folios ...) let's add a deprecation notice when the filesystem is mounted and schedule its removal to 2024.
Quoted 4 lines
Two years might be considered "short notice" for a filesystem, but I guess that people running it because it is stable will most likely also linger on stable kernels where it will live "maintained" for many years after it has been removed from the upstream code base.
Yeah, I guess that is the case usually. Anyway based on feedback from one reiserfs user I've pushed the date to 2025.
Quoted 9 lines
Quoted 8 lines
Signed-off-by Jan Kara <[email protected]>--- fs/reiserfs/Kconfig | 10 +++++++--- fs/reiserfs/super.c | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-)Here's my suggestion for deprecating reiserfs. If nobody has reasons against this, I'll send the patch to Linus during the next merge window.
Quoted 6 lines
Is there a deprecation/removal schedule somewhere that documents stuff like this? We documented in the XFS section of the kernel admin guide (where we also document mount option and sysctl deprecation and removal schedules), but I don't think anything like that exists for reiserfs or for filesystems in general.
The only document I'm aware of is Documentation/process/deprecated.rst for which filesystem deprecation seems inappropriate. So no I don't think we have such general document for filesystems.
Quoted 1 line
Other than that, the patch looks good.
Thanks for review!
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR