From d17ad1234d64e73b03f1d386778cfa0efb18bc85 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 30 May 2009 13:56:31 -0400 Subject: [PATCH] Update release notes, version string, etc. for E2fsprogs 1.41.6 release --- README | 2 +- RELEASE-NOTES | 105 ++++++++++++++++++++++++++++++++++++++++++ debian/changelog | 40 ++++++++++++++++ debugfs/debug_cmds.ct | 2 +- doc/libext2fs.texinfo | 8 ++-- e2fsprogs.lsm | 10 ++-- version.h | 4 +- 7 files changed, 158 insertions(+), 13 deletions(-) diff --git a/README b/README index f641ed8d..b3ec1820 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ - This is the new version (1.41.4) of the second extended file + This is the new version (1.41.6) 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 4ef28bac..61cdbd31 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,3 +1,108 @@ +E2fsprogs 1.41.6 (May 30, 2009) +=============================== + +Fix a critical regression in e2fsck introduced version 1.41.5 which +can undo updates to the block group descriptors after a journal replay. + +If e2fsck receives an I/O error while replaying the journal, prompt +the user whether they want to ignore the error or not; if e2fsck is +run in preen mode, force fsck to abort the preen pass. + +Fix a bug which would cause e2fsck to core dump if the filesystem +contains a corrupt extent header, and the user declines to clear the +inode. (Addresses Sourceforge Bug: #2791794) + +Fix e2fsck to restart only once in the case of multiple block groups +which inodes in use that are in the uninitialized part of the block +group's inode table. + +To reduce user confusion, if the /etc/mtab file is missing +ext2fs_check_mount_point and ext2fs_check_if_mounted will return a +new, explicit error code to indicate this case. This will cause +e2fsck to give a clearer error message when the user is using buggy +rescue CD's that don't properly set up /etc/mtab. (Addresses Debian +Bug: #527859) + +Fix e2fsck so that if the primary group descriptors are corrupted, but +the backup superblock is entirely invalid, to go back to using (and +fixing) the priary group descriptors instead of completely giving up +on the filesystem. (Addresses Debian Bug: #516820) + +Change e2fsck to not abort a preen pass if an inode is found to have +i_file_acl_hi non-zero. Ext3 filesystems don't care, and newer +kernels (post 2.6.29) will ignore this field. So let's fix it +automatically during the preen pass instead of forcing the user to fix +this up manually. (Addresses Debian Bug: #526524) + +Add resource tracking for e2fsck passes 1b through 1d. + +Speed up e2fsck by eliminating unnecessary journal checks if the +filesystem is already mounted and doesn't need recovery (since the +kernel would have run the journal when the filesystem was mounted.) +Also speed up e2fsck by avoiding unnecessary block group descriptor +updates in ext2fs_close(). + +Add support to chattr to migrate inodes from using direct/indirect +blocks to extents. + +Avoid corrupting the filesystem if there is an attempt to shrink a +filesystem using resize2fs smaller than posible by making +ext2fs_set_bmap() more careful not to delete the old block until the +new block can be inserted. In addition, fix a bug in how the minimum +size of the filesystem (plus a safety margin) is calculated, and +modify resize2fs to refuse to shrink the filesystem below that minimum +size without the force flag. + +Teach blkid to try to figure out DM device names using take advantage +of information in sysfs when running on kernels (2.6.29 and later) +which provide this information in /sys/block/dm-/dm/name; this is +much faster than scanning for the devncie number in /dev/mapper. + +Fix blkid to prefer /dev/mapper/ device names instad of the +private /dev/dm-X names. + +Add an -a option to debugfs's close_filesys command which writes any +changes to the superblock or block group descriptors to all of the +backup superblock locations. + +Add support to the filefrag program to use the FIEMAP ioctl. + +Update Chinese translation from the Translation Project. + +Clean up various man pages. (Addresses Red Hat Bugzilla: #502971 and +Launchpad Bug: #381854) + +Fixed various Debian packaging issues --- see debian/changelog for +details. (Addresses Debian Bug #506064) + + +Programmer's Notes +------------------ + +Add test code to make sure e2fsck's problem.c doesn't have two problem +codes assigned to duplicate values. + +Avoid using a hard-coded path for /bin/rm in block's test_probe.in. +(Addresses Sourceforge Bug: #2780205) + +Clean up e2fsck by removing #ifdef RESOURCE_TRACK by adding an empty +function declaration for init_resource_track() and +print_resource_track() when RESOURCE_TRACK is not defined. + +The test code which is used to build the tst_csum progam has been +moved from from tst_csum.c into csum.c under an #ifdef DEBUG to to +avoid compile problems caused by not having a prototype for +ext2fs_group_desc_csum(). (Addresses Sourceforge Bug #2484331) + +Update the config.guess and config.sub file to the latest from the +FSF, to allow e2fsprogs to build on the avr32 platform. (Addresses +Debian Bug: #528330) + +Add a new function, ext2fs_extent_open2(), which behaves like +pext2fs_extent_open(), but uses the user-supplied inode structure +when opening an extent instead of reading the inode from disk. + + E2fsprogs 1.41.5 (April 23, 2009) ================================= diff --git a/debian/changelog b/debian/changelog index f5ace147..50cd2001 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,43 @@ +e2fsprogs (1.41.6-1) unstable; urgency=low + + * New upstream release + * Update and clarify man pages + * Fix a number of Lintian warnings, including to updating to debian + policy 3.8.1 + * Update config.guess and config.sub to the latest (2009-04-17) + version so that e2fsprogs will build on the avr32 platform + (Closes: #528330) + * Add an explicit error message if the /etc/mtab file is missing + when running e2fsck or resize2fs (Closes: #527859) + * Enhance e2fsck to handle the case where the primary block group + descriptors need fixing, and the backup superblock is corrupt. + (Closes: #516820) + * Add an "-a" option to debugfs's close_filesys command + * e2fsck will no longer abort a preen operation if an inode's + i_file_acl_hi field is non-zero. (Closes: #526524) + * The chattr program can now migrate inodes from using direct/indirect + blocks to extent trees. + * Speed up e2fsck if there are multiple block groups with inodes in + use in the unused portion of the block group's inode table. + * Update Chinese translation from the translation project + * Fix resize2fs so it won't corrupt ext4 filesystem when asked to + shrink a filesystem smaller than the minimum suggested size. + * Fix e2fsck regression which can corrupt ext4 filesystems when + replaying the journal. + * Add support to e2fsck for handling I/O errors while replaying the + journal + * Fix a bug in e2fsck which could cause it to crash if an inode has a + corrupt extent header, and the user declines to clear the inode. + * Fix blkid to prefer the /dev/mapper/ device names over the + private /dev/dm-N device names. + * Add support for the FIEMAP ioctl to the filefrag program + * Further speed up e2fsck by skipping journal checks if the filesystem + is mounted read-only and is marked as not needing journal replay. + * Add a build depends in the control file indicating that dietlibc + must be newer than version 0.30 (Closes: #506064) + + -- Theodore Y. Ts'o Fri, 30 May 2009 13:26:23 -0400 + e2fsprogs (1.41.5-1) unstable; urgency=low * New upstream release diff --git a/debugfs/debug_cmds.ct b/debugfs/debug_cmds.ct index 59314b81..5355764e 100644 --- a/debugfs/debug_cmds.ct +++ b/debugfs/debug_cmds.ct @@ -19,7 +19,7 @@ request do_features, "Set/print superblock features", request do_dirty_filesys, "Mark the filesystem as dirty", dirty_filesys, dirty; -request do_init_filesys, "Initalize a filesystem (DESTROYS DATA)", +request do_init_filesys, "Initialize a filesystem (DESTROYS DATA)", init_filesys; request do_show_super_stats, "Show superblock statistics", diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo index f009a0e7..f9451aa2 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.41.5) +@settitle The EXT2FS Library (version 1.41.6) @synindex tp fn @comment %**end of header @@ -60,8 +60,8 @@ by the author. @title The EXT2FS Library @subtitle The EXT2FS Library -@subtitle Version 1.41.5 -@subtitle April 2009 +@subtitle Version 1.41.6 +@subtitle May 2009 @author by Theodore Ts'o @@ -102,7 +102,7 @@ by the Foundation. @top The EXT2FS Library -This manual documents the EXT2FS Library, version 1.41.5 +This manual documents the EXT2FS Library, version 1.41.6 @end ifinfo diff --git a/e2fsprogs.lsm b/e2fsprogs.lsm index 31a3ef98..64188994 100644 --- a/e2fsprogs.lsm +++ b/e2fsprogs.lsm @@ -1,16 +1,16 @@ Begin3 Title: EXT2 Filesystem utilities -Version: 1.41.5 -Entered-date: 23Apr2009 +Version: 1.41.6 +Entered-date: 30May2009 Description: The filesystem utilities for the EXT2 filesystem, including e2fsck, mke2fs, dumpe2fs, fsck, and others. Keywords: utilities, fsck, filesystem, Ext2fs Author: tytso@mit.edu (Theodore Tso) Maintained-by: tytso@mit.edu (Theodore Tso) Primary-site: download.sourceforge.net /pub/sourceforge/e2fsprogs - 4316kB e2fsprogs-1.41.5.tar.gz - 484kB e2fsprogs-libs-1.41.5.tar.gz - 1kB e2fsprogs-1.41.4.lsm + 4320kB e2fsprogs-1.41.6.tar.gz + 484kB e2fsprogs-libs-1.41.6.tar.gz + 1kB e2fsprogs-1.41.6.lsm Alternate-site: 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 Copying-policy: GPL-2/LGPL-2 diff --git a/version.h b/version.h index 8919642c..96d13c18 100644 --- a/version.h +++ b/version.h @@ -7,5 +7,5 @@ * redistributed under the GNU Public License. */ -#define E2FSPROGS_VERSION "1.41.5" -#define E2FSPROGS_DATE "23-Apr-2009" +#define E2FSPROGS_VERSION "1.41.6" +#define E2FSPROGS_DATE "30-May-2009"