From 2b0d66bbec7807597673b7e00f2d9ff04439c307 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 29 Jan 2021 16:28:44 -0500 Subject: [PATCH] Update release notes, etc., for the 1.46.0 release Signed-off-by: Theodore Ts'o --- README | 2 +- RELEASE-NOTES | 2 +- debian/changelog | 48 +++++++++++++++++++++ doc/RelNotes/v1.46.0.txt | 108 +++++++++++++++++++++++++++++++++++++++++++++++ doc/libext2fs.texinfo | 6 +-- e2fsprogs.lsm | 8 ++-- e2fsprogs.spec | 2 +- 7 files changed, 166 insertions(+), 10 deletions(-) create mode 100644 doc/RelNotes/v1.46.0.txt diff --git a/README b/README index a18678b..2ae6e24 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ - This is the new version (1.45.7) of the second extended file + This is the new version (1.46.0) of the second extended file system management programs. From time to time, I release new versions of e2fsprogs, to fix diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d8955b0..21ae979 120000 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1 +1 @@ -doc/RelNotes/v1.45.7.txt \ No newline at end of file +doc/RelNotes/v1.46.0.txt \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 0ca4e82..6e00425 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,51 @@ +e2fsprogs (1.46.0-1) unstable; urgency=medium + + * New upstream release + * Add support for the new fast_commit feature. (Requires Linux version + 5.10 or higher) + * Add support for the new stable_inodes feature which is needed to + support some file system encryption algorithms such as siphash. + * Add support for file systems that have both case folding and + encryption enabled. (Requires Linux version 5.10 or higher) + * The fuse2fs program now supports the "norecovery" which omits replying + the journal and mounts the file system read-only. + * Bitmap loading is now done using multiple threads which can speed up + debugfs, dumpe2fs, and e2fsck on very large file systems. + * E2fsck now will check file names on file systems with case folding + enabled to make sure the characters are valid UTF-8 characters. + This is done for file systems which enforce strict encodings, and + optionally if the extended "check_encoding" option is requested. + * E2fsck will properly handle checking for duplicated file names when + case folding is enabled. + * E2fsck will now find and fix file system corruptions when the encrypted + files have a different policy from their containing directory. + * The "htree" command in debugfs now displays the metadata checksums for + hash tree index blocks. + * Fix various bugs where a maliciously corrupted file systems could case + e2fsck and other e2fsprogs programs to crash. + * Dumpe2fs will print the error code that Linux kernels newer than v5.6 + will save to indicate the class of error which triggered the ext4_error + event. + * E2fsprogs programs (in particular, fuse2fs) can now update htree + directories without clearing the htree index. + * Tune2fs will properly recalculate directory block checksums when + clearing the dir_index feature. + * Fix a bug in e2fsck directory rehashing which could fail with ENOSPC + because it doesn't take into account the space needed for the metadata + checksum, and doesn't create a sufficiently deep index tree. + * Clarify the e2fsck messages when it resets the directory link count when + it is set to the overflow value but it is no longer needed. + * Mke2fs now sets the s_overhead_cluster field, so that the kernel doesn't + need to calculate it at mount time. This speeds up mounting very large + file systems. + * Speed up mke2fs when creating large bigalloc file systems by optimizing + ext2fs_convert_subcluster_bitmap(). + * The filefrag program can now request the kernel to display the extent + status cache by using "filefrag -E". (This requires Linux version 5.4 + or newer.) + + -- Theodore Y. Ts'o Fri, 29 Jan 2021 16:24:41 -0500 + e2fsprogs (1.45.7-1) unstable; urgency=medium * New upstream release diff --git a/doc/RelNotes/v1.46.0.txt b/doc/RelNotes/v1.46.0.txt new file mode 100644 index 0000000..ded84e2 --- /dev/null +++ b/doc/RelNotes/v1.46.0.txt @@ -0,0 +1,108 @@ +E2fsprogs 1.46.0 (January 29, 2021) +=================================== + +Updates/Fixes since v1.45.7: + +UI and Features +--------------- + +E2fsprogs now supports the fast_commit (COMPAT_FAST_COMMIT) feature. +This feature, first available in Linux version 5.10, adds a fine-grained +journalling which improves the latency of the fsync(2) system call. It +should also improve the performance of ext4 file systems exported via +NFS. + +E2fsprogs now supports the stable_inodes (COMPAT_STABLE_INODES) feature. +This needed to support the siphash file system encryption algorithm, +which calculates the initial vector (IV) for encryption based on the +UUID and the inode number. This means that we can't renumber inodes +(for example, when shrinking a file system) and the UUID can't be +changed without breaking the ability to decrypt the encryption. + +E2fsprogs now supports file systems which have both file system +encryption and the casefold feature enabled. This requires Linux +version 5.10. + +E2fsck now will check file names on file systems with case folding +enabled to make sure the characters are valid UTF-8 characters. This is +done for file systems which enforce strict encodings, and optionally if +the extended "check_encoding" option is requested. + +The fuse2fs program now supports the "-o norecovery" option, which will +suppress any journal replay that might be necessary, and mounts the file +system read-only. + +E2fsck will now find and fix file system corruptions when the encrypted +files have a different policy from their containing directory. + +The "htree" command in debugfs now displays the metadata checksums for +hash tree index blocks. + +Dumpe2fs will print the error code that Linux kernels newer than v5.6 +will save to indicate the class of error which triggered the ext4_error +event. + +E2fsprogs programs (in particular, fuse2fs) can now update htree +directories without clearing the htree index. + +Mke2fs now sets the s_overhead_cluster field, so that the kernel doesn't +need to calculate it at mount time. This speeds up mounting very large +file systems. + + +Fixes +----- + +E2fsck will properly handle checking for duplicated file names when case +folding is enabled. + +Fix various bugs where a maliciously corrupted file systems could case +e2fsck and other e2fsprogs programs to crash. + +Tune2fs will properly recalculate directory block checksums when +clearing the dir_index feature. + +Fix a bug in e2fsck directory rehashing which could fail with ENOSPC +because it doesn't take into account the space needed for the metadata +checksum, and doesn't create a sufficiently deep index tree. + +Clarify the e2fsck messages when it resets the directory link count when +it is set to the overflow value but it is no longer needed. + +The filefrag program can now request the kernel to display the extent +status cache by using "filefrag -E". (This requires Linux version 5.4 +or newer.) + + +Performance, Internal Implementation, Development Support etc. +-------------------------------------------------------------- + +Speed up mke2fs when creating large bigalloc file systems by optimizing +ext2fs_convert_subcluster_bitmap(). + +Bitmap blocks are now read using multiple threads (for systems with +pthread support). This speeds up dumpe2fs, e2fsck, and debugfs for very +large file systems. + +The dumpe2fs and tune2fs will now avoiding to read the block group +descriptors when they are not needed, which speeds up these program when +operating on very large file systems. + +Drop use of the sysctl(2) system call, which is deprecated in Linux. + +Add support for "configure --enable-developer-features" which enables +features only meant for developer. The first such feature is "e2fsck -E +clear_all_uninit_bits", which clears the uninitialized bit on all +extents for all inodes. Note that this can end up exposing uninitialized +data to userspace, and should only used in very specialized situations. + +The e2fsck/revoke.c and e2fsck/recovery.c files are now kept idential +with the fs/jbd2 versions of these files in the kernel. + +Fix various compiler and Coverity warnings. + +Update to use gettext 0.19.8. This also removes the built-in "intl" +directory as this is now considered deprecated by gettext. This means +that if the system doesn't have gettext installed on the build system, +we will simply disable NLS support. + diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo index 24e2d71..86a6800 100644 --- a/doc/libext2fs.texinfo +++ b/doc/libext2fs.texinfo @@ -1,7 +1,7 @@ \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename libext2fs.info -@settitle The EXT2FS Library (version 1.45.7) +@settitle The EXT2FS Library (version 1.46.0) @synindex tp fn @comment %**end of header @@ -60,7 +60,7 @@ by the author. @title The EXT2FS Library @subtitle The EXT2FS Library -@subtitle Version 1.45.7 +@subtitle Version 1.46.0 @subtitle January 2021 @author by Theodore Ts'o @@ -101,7 +101,7 @@ by the Foundation. @top The EXT2FS Library -This manual documents the EXT2FS Library, version 1.45.7. +This manual documents the EXT2FS Library, version 1.46.0. @menu * Introduction to the EXT2FS Library:: diff --git a/e2fsprogs.lsm b/e2fsprogs.lsm index cb5ea1e..7a50b08 100644 --- a/e2fsprogs.lsm +++ b/e2fsprogs.lsm @@ -1,15 +1,15 @@ Begin3 Title: EXT2 Filesystem utilities -Version: 1.45.7 -Entered-date: 2021-01-28 +Version: 1.46.0 +Entered-date: 2021-01-29 Description: The filesystem utilities for the EXT2, EXT3, and EXT4 filesystems, including e2fsck, mke2fs, dumpe2fs, and others. Keywords: utilities, filesystem, Ext2fs, ext3, ext4 Author: tytso@mit.edu (Theodore Tso) Maintained-by: tytso@mit.edu (Theodore Tso) Primary-site: ftp.kernel.org /pub/linux/kernel/people/tytso/e2fsprogs - 7752kB e2fsprogs-1.45.7.tar.gz - 1kB e2fsprogs-1.45.7.lsm + 9260kB e2fsprogs-1.46.0.tar.gz + 1kB e2fsprogs-1.46.0.lsm Alternate-site: download.sourceforge.net /pub/sourceforge/e2fsprogs Platforms: linux 1.2.x/1.3.x/2.0.x/2.1.x/2.2.x/2.3.x/2.4.x/2.5.x/2.6.x/3.x/4.x Copying-policy: GPL-2/LGPL-2 diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 6d50972..a8fd1dd 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -5,7 +5,7 @@ Summary: Utilities for managing ext2/ext3/ext4 filesystems Name: e2fsprogs -Version: 1.45.7 +Version: 1.46.0 Release: 0 License: GPLv2 Group: System Environment/Base -- 1.8.3.1