Whamcloud - gitweb
Fix gcc -Wall nits.
[tools/e2fsprogs.git] / lib / ext2fs / ChangeLog
index 77ed4cc..2a1bce2 100644 (file)
@@ -1,3 +1,274 @@
+2003-01-25  Theodore Ts'o  <tytso@mit.edu>
+
+       * dirhash.c: Fix gcc -Wall nits.
+
+2003-01-22  Theodore Ts'o  <tytso@mit.edu>
+
+       * unix_io.c (unix_write_blk): Fix up GCC -Wall nits.
+
+2003-01-21  Theodore Ts'o  <tytso@mit.edu>
+
+       * fileio.c (ext2fs_file_read, ext2_file_lseek,
+               ext2_file_get_size): Add 64-bit support.
+
+       * ext2fs.h (EXT2_I_SIZE): Add macro which caluates a 64bit size
+               from i_size and i_size_high.
+
+2003-01-19  Theodore Ts'o  <tytso@mit.edu>
+
+       * initialize.c (ext2fs_initialize): If the user specifies a really
+               large number of inodes, then reduce the number of blocks
+               per group until we find a workable set of filesystem
+               parameters.
+
+       * ext2_err.et.in (EXT2_ET_TOO_MANY_INODES): Add new error code.
+
+2002-11-09  Theodore Ts'o  <tytso@mit.edu>
+
+       * Release of E2fsprogs 1.32
+
+2002-11-09  Theodore Ts'o  <tytso@mit.edu>
+
+       * unix_io.c (find_cached_block, reuse_cache, unix_read_blk, 
+               unix_write_blk): Optimize routines so that we don't end up
+               searching the cache twice when a block isn't in the
+               cache.  If reads are larger than READ_DIRECT_SIZE, don't
+               let them go through the cache.
+
+       * unix_io.c (find_cached_block): Fixed bug which caused some clean
+               blocks to be erroneously marked as dirty, so they would
+               get written back to the disk before they are evicted from
+               the cache.  Harmless, but it slows down e2fsck
+               significantly.
+
+2002-11-08  Theodore Ts'o  <tytso@mit.edu>
+
+       * Release of E2fsprogs 1.31
+
+2002-11-08    <tytso@snap.thunk.org>
+
+       * Makefile.in (check): Skip trying to compile test_byteswap
+               if --disable-byteswaap had been given to configure.
+
+2002-11-07    <tytso@snap.thunk.org>
+
+       * closefs.c (write_bgdesc, ext2fs_flush): Fix bug in meta_bg
+               support when the MASTER_SB_ONLY flag is set.  Some of
+               the descriptor blocks that should have been written out
+               were getting skipped.
+
+2002-10-31  Theodore Ts'o  <tytso@mit.edu>
+
+       * Release of E2fsprogs 1.30
+
+2002-10-31  Theodore Ts'o  <tytso@mit.edu>
+
+       * ext2_fs.h: Add support for a new inode flag, which is to be used
+               for indicating the top of directory hierarchies for the
+               Orlov block allocator.
+       
+       * ismounted.c (check_mntent, check_mntent_file): Add better
+               support for loopback-mounted filesystems.  Check /etc/mtab
+               if /proc/mounts doesn't turn up any mount flags, since
+               /etc/mtab has the loopback image filename, instead of
+               /dev/loop0.  Also, check based on st_dev and st_ino, so
+               that if a relative pathname or a pathnames using symbolic
+               links are used, we can detect the the filesystem correctly
+               in those cases.  (Addresses Sourceforge bug #619119)
+
+       * flushb.c (ext2fs_sync_device): If the BLKFLSBUF ioctl succeeds,
+               don't try the FDFLUSH ioctl that was required for floppies
+               with older kernels.  This avoids needless whining from the
+               MD device driver.  (Addresses Sourceforge bug #545832).
+
+       * openfs.c (ext2fs_open): Fix bug which caused us to pass the
+               wrong group_block to ext2fs_descriptor_block_loc if we're
+               using the backup superblock/block group descriptors.
+               (ext2fs_descriptor_block_loc): If we're using the backup
+               superblock descriptors, use the backup descriptor block in
+               the next block group.
+
+2002-10-30  Theodore Ts'o  <tytso@mit.edu>
+
+       * alloc_tables.c (ext2fs_allocate_group_table): Allocate the inode
+               table so that it buts up against the bitmap blocks, to
+               avoid block fragmentation.
+
+       * closefs.c (write_bgdesc), initalize.c (ext2fs_initialize): Fix
+               bug; only allocate group descriptor blocks up to
+               s_first_meta_bg.
+
+2002-10-25  Theodore Ts'o  <tytso@mit.edu>
+
+       * ext2_fs.h: Add a new superblock field, s_mkfs_time, so that we
+               know when a filesystem was created.  (Sometimes this can
+               be useful...)
+
+       * initialize.c (ext2fs_initialize): Set the s_mkfs_time field.
+
+2002-10-20  Theodore Ts'o  <tytso@valinux.com>
+
+       * ext2_fs.h (EXT3_DEFM_JMODE): Add new default mount options for
+               the journal data mode.
+
+       * closefs.c (ext2fs_flush, write_bgdesc), ext2_fs.h, ext2fs.h,
+       openfs.c (ext2fs_descriptor_block_loc, ext2fs_open), initialize.c
+       (ext2fs_initialize), swapfs.c (ext2fs_swap_super): Add support for
+       the meta_blockgroup filesystem format.
+
+2002-10-15    <tytso@snap.thunk.org>
+
+       * ext2_fs.h: Add new field in superblock for default mount options.
+
+2002-10-13  Theodore Ts'o  <tytso@mit.edu>
+
+       * ext2fs.h: Add #include of header files necessary for ext2fs.h to
+               compile cleanly.
+
+2002-10-02  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * rw_bitmaps.c (ext2fs_write_block_bitmap,
+               ext2fs_read_block_bitmap): Don't set the CHANGED bit just
+               because the bitmap is getting written to disk.  Make
+               ext2fs_swap_bitmap be a static function, since it's not
+               intended to be exported.
+
+       * swapfs.c (ext2fs_swap_super): Byte-swap the hash seed
+
+2001-09-24  Theodore Tso  <tytso@mit.edu>
+
+       * Release of E2fsprogs 1.29
+
+2001-08-31  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.28
+
+2002-08-31  Theodore Ts'o  <tytso@valinux.com>
+
+       * dblist.c (ext2fs_dblist_sort): New function which allows the
+               caller to pass in a special sort comparison function.
+
+2002-08-20  Theodore Ts'o  <tytso@mit.edu>
+
+       * valid_blk.c (ext2fs_inode_has_valid_blocks): Fix bug which
+               failed to accurately characterize non-standard slow
+               symlinks.  (Which don't appear in practice on real-life
+               systems, fortunately.)
+
+2002-08-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * Makefile.in: Remove inode_io.o from the standard object files,
+               and only build it if debugfs is enabled (it requires
+               fileio.o, which is only built if --disable-debugfs isn't
+               specified to configure).
+
+       * dirhash.c (ext2fs_dirhash): Change the MD4 hash in a backwards
+               incompatible way so that it is no longer
+               endian-dependent.  Add the TEA hash.  Allow the seed
+               parameter to be optional.
+
+       * ext2_fs.h: Remove the HALF_MD4_SEED and HALF_MD4_64 hashes.
+               These features are all now in the HALF_MD4 hash.  Add
+               definition for EXT2_HASH_TEA.
+
+       * ext2fs.h (ext2fs_dirhash): Change function prototype so it takes
+               a pointer instead of an array.
+
+2002-08-16  Theodore Ts'o  <tytso@mit.edu>
+
+       * ext2_err.et.in (EXT2_ET_BAD_EA_BLOCK_NUM): New error code
+
+       * ext2fs.h (ext2fs_inode_data_blocks): New function which returns
+               the number of data blocks used by an inode exclusive of
+               the EA block.
+
+       * ext_attr.c (ext2fs_adjust_ea_refcount): New function which
+               adjusts the reference count in an extended attribute block.
+
+       * valid_blk.c (ext2fs_inode_has_valid_blocks): Add code to
+               correctly deal with extended attribute blocks in symbolic
+               links. 
+
+2002-08-13    <tytso@snap.thunk.org>
+
+       * Makefile.in: Move dupfs.o and test_io.o from the
+               needed-by-debugfs object list to the needed-by-resizer
+               object list.  Fixes compile problem if the system is built
+               with only --disable-debugfs.
+
+2002-07-29  Theodore Ts'o  <tytso@mit.edu>
+
+       * link.c (ext2fs_link): When adding a new link to a directory,
+               clear the HTREE bit.
+
+2002-07-23  Theodore Ts'o  <tytso@mit.edu>
+
+       * dirhash.c (ext2fs_dirhash): Fix bug which caused MD4
+               calculations for names > 32 characters to be completely
+               bogus.  Changed MD4 calculation to match what is currently
+               being used in the CVS gkernel tree.
+
+2002-07-19  Theodore Ts'o  <tytso@mit.edu>
+
+       * ext2_fs.h: Add s_hash_seed and s_def_hash_version to the
+               superblock definition.
+
+       * badblocks.c, freefs.c, ext2fs.h: Use the badblocks functions to
+               create a set of u32_list functions.
+
+       * dirhash.c (halfMD4Transform): Shift the hash by one bit,
+               since that's required by the directory indexing code.
+
+2002-07-14  Theodore Ts'o  <tytso@mit.edu>
+
+       * ext2fs.h, read_bb_file.c: Change private to priv_data, to avoid
+               using a C++ reserved word.
+
+       * unix_io.c (unix_open): Only attempt the setrlimit workaround if
+               the kernel version is 2.4.10 -- 2.4.17, since otherwise an
+               old version of glibc (built against 2.2 headers) will
+               interact badly with the workaround to actually cause more
+               problems.  I hate it when the glibc folks think they're
+               being smarter than the kernel....
+
+2002-06-28  Andreas Dilger <adilger@clusterfs.com>
+
+       * ext2_fs.h: Add superblock field for reserved group descriptors.
+
+2002-06-28  Theodore Ts'o  <tytso@mit.edu>
+
+       * bitops.h: Add #define's for ext2fs_{l,b}e{32,16}_to_cpu and
+               ext2fs_cpu_to_{l,b}e{32,16}
+
+2002-06-27  Theodore Ts'o  <tytso@mit.edu>
+
+       * ismounted.c (check_mntent): In AIX 4.3, MOUNTED isn't defined.
+               Add appropriate fallbacks in this case.
+
+2002-06-26  Theodore Ts'o  <tytso@mit.edu>
+
+       * dirhash.c (ext2fs_dirhash): Change function signature to support
+               a hash seed, and to return the minor hash (for 64-bit hash
+               support).   Add support for the half MD4, half MD4 with
+               seed, and half MD4 with seed and 64 bits.
+
+2002-06-15  Theodore Ts'o  <tytso@mit.edu>
+
+       * ext2_fs.h (EXT2_DIRSYNC_FL): Add new file.
+
+2002-06-09  Andreas Dilger <adilger@clusterfs.com>
+
+       * ext2_fs.h: Add macros for maximum block/inode counts:
+               EXT2_INODES_PER_BLOCK, EXT2_MAX_BLOCKS_PER_GROUP,
+               and EXT2_MAX_INODES_PER_GROUP.
+
+       * openfs.c (ext2fs_open): Check that the number of blocks in a group
+               is less than 2^16, otherwise we need an INCOMPAT flag (not
+               in existence yet, if ever) to open such a filesystem.
+
+       * initialize.c (ext2fs_initialize): Limit the number of blocks and
+               inodes in a group to less than 2^16.
+
 2002-06-09  Andreas Dilger <adilger@clusterfs.com>
 
        * ext2_fs.h: Further minor cleanups of the header.  Consolidate