From: Theodore Ts'o Date: Wed, 28 Jan 2009 00:51:00 +0000 (-0500) Subject: Update release notes, changelog, etc., for e2fsprogs 1.41.4 release X-Git-Tag: v1.41.4^0 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b2ca48f40eb33bd86b8d53d4373e7fce96bced4a;p=tools%2Fe2fsprogs.git Update release notes, changelog, etc., for e2fsprogs 1.41.4 release Signed-off-by: "Theodore Ts'o" --- diff --git a/README b/README index 2984112..f641ed8 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ - This is the new version (1.41.3) of the second extended file + This is the new version (1.41.4) 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 6f9992d..d114dc1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,3 +1,135 @@ +E2fsprogs 1.41.4 (January 27, 2009) +=================================== + +Fixed a bug which could sometimes cause blkid to return an exit value +of zero for a non-existent device (Addresses Debian Bug: #502541) + +Blkid will now recognize ext3 filesystems that have the test_fs flag +set as ext3 filesystems. + +The blkid library will now recognize btrfs filesystems and swap +devices currently used by user-level software suspend. + +Tune2fs now updates the block group checksums when changing the UUID +to avoid causing e2fsck to complain vociferously at the next reboot. + +Tune2fs's inode size resizing algorithms have been fixed so it is not +vastly inefficient for moderate-to-large filesystems, due to some +O(n**2) and O(n*m) algorithms that didn't scale well at all. + +Fix tune2fs's inode resizing algorithm so it will not corrupt +filesystems laid out for RAID filesystems; in addition, tune2fs will +refuse to change the inode size for filesystems that have the flex_bg +feature enabled. (This is a limitation in the current implementation +of tune2fs -I.) + +E2fsprogs 1.41 broke debugfs's logdump command for normal ext3/4 +filesystems with 32-bit block numbers, when the headers for 64-bit +block numbers was added. This regression has been fixed. + +Debugfs's ncheck command has been fixed to avoid printing garbage +characters at the end of file names. + +Fix resize2fs for ext4 filesystems. Some blocks that that need moving +when shrinking filesystems with uninit_bg feature would not be moved. +In addition, blocks and inode table blocks were not being correctly +freed when shrinking filesystems with the flex_bg feable, which caused +resize2fs -M to fail. Finally, when blocks are moved, make sure the +uninitialized flag in extents is preserved. + +Fix bug which caused dumpe2fs to abort with an error if run on a +filesystem that contained an external journal. + +Some distributions used "mke3fs" as an alias for "mkfs.ext3"; check +for this in argv[0] to provide better legacy support for these +distributions. This is a practice that should NOT be continued, +however. + +Mke2fs now has a new option -U, which allows the user to specify the +UUID that should be used for the new filesystem. + +Mke2fs will treat devices that are exactly 16TB as if they were 16TB +minus one block. This allows users who have read that ext3 supports +up to 16TB filesystems and who create a 16TB LVM to not get confused, +since the true limit is really 16TB minus one block. + +E2fsck will no longer abort an fsck run if block group has an errant +INODE_UNINIT flag. + +E2fsck now distinguishes between fragmented directories and fragmented +files in verbose mode statistics and in the fragcheck report. + +Fix a bug in e2fsck which casued it double count non-contiguous +extent-based inodes. + +E2fsck will leave some slack space when repacking directories to allow +room for a few directory entries to be added without causing leaf +nodes to be split right away. + +Fix a bug which caused e2fsck to crash when it comes across a +corrupted interior node in an extent tree with the error message: +"Error1: Corrupt extent header on inode XXXXXX" + +E2fsck problem descriptions involving the journal are no longer +referred to as "ext3" problems, since ext4 filesystems also have +journals. + +Fix a long-standing bug in e2fsck which would cause it to crash when +replying journals for filesystems with block sizes greater than 8k. + +Update Catalan translation from the Translation Project. + +Fixed various Debian packaging issues --- see debian/changelog for +details. (Addresses Debian Bugs: #503057, #502323, #511207) + +Programmer's Notes +------------------ + +Fix build of e2fsck.profiled, and add support for building profiled +binaries in the misc directory if configured with --enable-profile. + +The ext2fs_open() function now performs more sanity checks on the +superblock to avoid potential divide by zero errors by other parts of +library. + +The ext2fs_read_inode_full() function now has a safety check to avoid +a segmentation fault on corrupted filesystems. + +The ext2fs_new_inode() function now has a sanity check so that if the +s_first_inode field in the superblock is insane, it will return +EXT2_ET_INODE_ALLOC_FAIL instead of returning an invalid inode number. + +To avoid segmentation faults, ext2fs_block_alloc_stats() and +ext2fs_inode_alloc_stats() now validates the passed inode or block +number to avoid overrunning an array boundary. + +Various signed/unsigned errors for variables containing block numbers +have been fixed. + +Accomodations for gcc's stupidity in not realizing that constant +strings that do not contain a '%' character are safe to use in format +strings have been made so that distributions that want to compile +e2fsprogs with -Werror=format-security have an easier time doing so. + +Added a new 64-bit getsize interface, ext2fs_get_device_size2(). + +Added the utility make-sparse.c to the contrib directory. + +The ext2fs_block_iterate2() function now reflects errors from +ext2fs_extent_set_bmap() to the caller, if the callback tries to +change a block on an extent-based file, and ext2fs_extent_set_bmap() +fails for some reason (for example, there isn't enough disk space to +split a node and expand the extent tree. + +The ext2fs_block_iterate2() function will preserve the uninit flag in +extents when the callback function modifies a block in an extent-based +file. + +E2fsck will now flag filesystems that have an insane s_first_ino field +in their superblock, and attempt to use a backup superblock to repair +the filesystem. + + E2fsprogs 1.41.3 (October 12, 2008) =================================== diff --git a/debian/changelog b/debian/changelog index 596007a..60be6d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,70 @@ +e2fsprogs (1.41.4-1) unstable; urgency=low + + * New upstream release + * Fix bug which could sometimes cause blkid to return an exit value of + zero for a non-existent device (Closes: #502541) + * Fix spelling mistake in Debian changelog (Closes: #502323) + * Fix blkid to deal with an ext3 filesystem with the test_fs flag + * Fix debugfs's ncheck output to suppress extra characters at the end + of the file name + * Tune2fs now updates the block group checksums after changing the + filesystem's UUID + * Speed up tune2fs's inode resizing code so it is no longer vastly + inefficient for moderate to large filesystems + * Fix dumpe2fs so it doesn't attempt to print the inline journal + information on filesystems with an external journal + * Update the Catalan translation + * Filter out linux-vdso.so lines when determining the library + dependencies while building the initial ramdisk (Closes: #503057) + * Fix e2fsck so an errant INODE_UNINIT flag set in a block group + doesn't cause e2fsck to abort. + * E2fsck now distinguishes between fragmented directories and + fragmented files in verbose mode statistics and in the fragcheck + report. + * Avoid double-counting non-contiguous extent-based inodes in the + verbose mode statistics. + * E2fsck now leaves slack space when repacking directories so that a + few new directory entries won't cause leaf nodes to become split + right away. + * E2fsck was previously not handling the case of a corrupted interior + node in the extent tree, and would crash in that case. It now will + handle this and related failures robustly. + * E2fsck problem descriptions involving the journal are no longer + referred to as "ext3" problems, since ext4 filesystems also have + journals. + * Fix a long-standing bug in e2fsck which would cause it to crash when + replying journals for filesystems with block sizes greater than 8k. + * Fix a regression in debugfs's logdump command so it works for + filesystems with 32-bit block numbers. This was accidentally broken + when the header files were changed to support the 64-bit block numbers. + * Fix resize2fs for ext4 filesystems. Some blocks that that need moving + when shrinking filesystems with uninit_bg feature would not be + moved. In addition, blocks and inode table blocks were not being + correctly freed when shrinking filesystems with the flex_bg feable, + which caused resize2fs -M to fail. Finally, when blocks are moved, + make sure the uninitialized flag in extents is preserved. + * Add mkfs.ext4 symlink to the e2fsprogs-udeb package (Closes: #511207) + * Resize2fs now reserves some extra block when calculating the minimum + size to shrink the filesystem in case some extent allocation trees + * Add a "set -e" to uuid-runtime's prerm script to make Lintian happy + * The blkid library will now recognize btrfs filesystems and swap + devices currently used by user-level software suspend. + * tune2fs will not allow changing the inode size for filesystems that + have the flex_bg feature enabled, since the code currently assumes + the each block group's portion inode table is located in its own + block group. + * Fix tune2fs -I so it won't corrupt ext3/ext4 filesystem configured + for RAID storage devices. + * Mke2fs now understands a -U option which allows the UUID to be + specified for the new filesystem. + * Mke2fs will now treat devices with exactly 16TB as if they have 16TB + minus one block, since many users expect ext4 to support 16TB + devices, and the true maximum size is 16TB-1. + * E2fsck will now flag filesystems that have an insane s_first_ino + field in their superblock. + + -- Theodore Y. Ts'o Tue, 27 Jan 2009 11:50:49 -0500 + e2fsprogs (1.41.3-1) unstable; urgency=low * New upstream release diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo index 27adea4..ab41248 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.3) +@settitle The EXT2FS Library (version 1.41.4) @synindex tp fn @comment %**end of header @@ -29,7 +29,8 @@ This file documents the ext2fs library, a library for manipulating the ext2 filesystem. -Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Theodore Ts'o +Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, +2006, 2007, 2008, 2009 by Theodore Ts'o Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -59,8 +60,8 @@ by the author. @title The EXT2FS Library @subtitle The EXT2FS Library -@subtitle Version 1.41.3 -@subtitle October 2008 +@subtitle Version 1.41.4 +@subtitle January 2009 @author by Theodore Ts'o @@ -101,7 +102,7 @@ by the Foundation. @top The EXT2FS Library -This manual documents the EXT2FS Library, version 1.41.3 +This manual documents the EXT2FS Library, version 1.41.4 @end ifinfo diff --git a/e2fsprogs.lsm b/e2fsprogs.lsm index 3f65e69..b63bac7 100644 --- a/e2fsprogs.lsm +++ b/e2fsprogs.lsm @@ -1,16 +1,16 @@ Begin3 Title: EXT2 Filesystem utilities -Version: 1.41.3 -Entered-date: 12Oct2008 +Version: 1.41.4 +Entered-date: 27Jan2009 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 - 4264kB e2fsprogs-1.41.3.tar.gz - 480kB e2fsprogs-libs-1.41.3.tar.gz - 1kB e2fsprogs-1.41.3.lsm + 4324kB e2fsprogs-1.41.4.tar.gz + 484kB e2fsprogs-libs-1.41.4.tar.gz + 1kB e2fsprogs-1.41.4.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/LGPL diff --git a/version.h b/version.h index e2777fe..3c49970 100644 --- a/version.h +++ b/version.h @@ -7,5 +7,5 @@ * redistributed under the GNU Public License. */ -#define E2FSPROGS_VERSION "1.41.3" -#define E2FSPROGS_DATE "12-Oct-2008" +#define E2FSPROGS_VERSION "1.41.4" +#define E2FSPROGS_DATE "27-Jan-2009"