Skip to content

Commit

Permalink
reiserfs: Deprecate reiserfs
Browse files Browse the repository at this point in the history
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 2025.

Link: https://lore.kernel.org/r/20220225125445.29942-1-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Jan Kara committed Mar 2, 2022
1 parent 50b3a81 commit eb103a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 7 additions & 3 deletions fs/reiserfs/Kconfig
Original file line number Diff line number Diff line change
@@ -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 2025. 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.
Expand Down
2 changes: 2 additions & 0 deletions fs/reiserfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 2025");
SB_BUFFER_WITH_SB(s) = bh;
SB_DISK_SUPER_BLOCK(s) = rs;

Expand Down

0 comments on commit eb103a5

Please sign in to comment.