e2fsprogs/lib/ext2fs
Theodore Ts'o 8e2399d57a ext2fs: Optimize extending an extent-mapped file using ext2fs_block_iterate2()
When ext2fs_block_iterate2() is called on an extent-mapped file with a
depth > 1, it will erroneously calling the callback function starting
all over again with an offset of logical block 0.  It shouldn't do
this, and it cases mke2fs to become very slow when creating files with
very large journals.

Fix this.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-03-11 15:58:54 -05:00
..
tdb Update to latest samba tdb library before LGPLv3 change 2008-02-17 17:35:54 -05:00
Makefile.in libext2fs: Always build file_io.c 2009-10-04 16:29:17 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
alloc.c ext2fs_new_inode(): Add sanity check to assure a valid inode number 2009-01-22 15:55:49 -05:00
alloc_sb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
alloc_stats.c libext2fs: Fix format string type warnings in alloc_stats.c 2009-04-22 15:07:00 -04:00
alloc_tables.c libext2fs: Improve flex_bg inode table placement algorithm 2009-11-30 12:24:59 -05:00
badblocks.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
bb_compat.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
bb_inode.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
bitmaps.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
bitops.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
bitops.h libext2fs: Add new function ext2fs_test_inode_bitmap_range() 2009-07-09 14:32:52 -04:00
block.c ext2fs: Optimize extending an extent-mapped file using ext2fs_block_iterate2() 2010-03-11 15:58:54 -05:00
bmap.c libext2fs: Fix SET_BMAP bugs in ext2fs_bmap() and ext2fs_bmap2() 2009-11-29 01:03:04 -05:00
bmove.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
brel.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
brel_ma.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
check_desc.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
closefs.c Avoid unneeded updates of block group descriptors in ext2fs_closefs() 2009-05-02 20:59:04 -04:00
crc16.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
crc16.h Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
csum.c libext2fs: Move test code for csum.c inline instead of in a separate file 2009-05-29 11:01:22 -04:00
dblist.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
dblist_dir.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
dir_iterate.c libext2fs: Fix minor gcc -Wall warnings 2009-07-12 01:13:06 -04:00
dirblock.c Fix encoding for rec_len in directories for >= 64k blocksize file systems 2009-06-21 21:07:38 -04:00
dirhash.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
dosio.c libext2fs: don't leak strdup'd dev name in dosio.c upon error 2009-03-08 20:38:20 -04:00
dosio.h Many files: 1997-08-11 20:29:22 +00:00
dupfs.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
e2image.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
expanddir.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
ext2_err.et.in libext2fs: Add an explicit error code for missing mtab file 2009-05-29 00:11:52 -04:00
ext2_ext_attr.h Fix gcc -Wall complaints in libext2fs 2006-11-14 23:14:12 -05:00
ext2_fs.h e2fsck: don't complain about i_size for known blocks past EOF 2010-02-24 11:24:37 -05:00
ext2_io.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
ext2_types.h.in Fix ext2fs_swap{16,32,64} for external applications on big-endian machines 2008-06-07 08:55:21 -04:00
ext2fs.h Fix encoding for rec_len in directories for >= 64k blocksize file systems 2009-06-21 21:07:38 -04:00
ext2fs.pc.in Fix pkg-config files: use Requires.private and fix the include directory 2008-09-02 21:20:44 -04:00
ext2fsP.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
ext3_extents.h Remove vararg macro which causes portability problems from ext3_extent.h 2008-07-13 16:06:57 -04:00
ext_attr.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
extent.c libext2fs: Avoid creating unneeded new extents in ext2fs_extent_set_bmap() 2009-07-19 23:37:44 -04:00
extent_dbg.ct libext2fs: add new function ext2fs_extent_set_bmap() 2008-06-02 18:52:05 -04:00
fiemap.h Add missing file: lib/ext2fs/fiemap.h 2009-05-04 07:39:56 -04:00
fileio.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
finddev.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
flushb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
freefs.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
gen_bitmap.c libext2fs: Round up the bitmap size when allocating a new bitmap 2009-09-07 16:21:49 -04:00
get_pathname.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
getsectsize.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
getsize.c ext2fs_get_device_size: Fix error handling 2009-01-20 13:37:47 -05:00
i_block.c libext2fs: Fix FEATURE_RO_COMPAT_HUGE_FILE && !HUGE_FILE_FL 2009-10-21 01:46:58 -04:00
icount.c libext2fs: Make icount use a 32-bit counter 2008-03-15 01:39:19 -04:00
imager.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
ind_block.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
initialize.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
inline.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
inode.c ext2fs_read_inode_full: Add safety check to avoid SEGV's on corrupted fs's 2009-01-19 23:09:37 -05:00
inode_io.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
io_manager.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
irel.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
irel_ma.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
ismounted.c libext2fs: handle <=linux-2.6.19 bug in /proc/swaps 2009-11-13 08:48:29 -05:00
jfs_compat.h e2fsck: Add support to check journal checksums 2008-06-06 23:38:38 -04:00
jfs_dat.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
jfs_user.h Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the 2001-12-23 19:33:51 -05:00
kernel-jbd.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
kernel-list.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
link.c Fix encoding for rec_len in directories for >= 64k blocksize file systems 2009-06-21 21:07:38 -04:00
llseek.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
lookup.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
mkdir.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
mkjournal.c tune2fs: Fix "tune2fs -j <dev>" for extent-enabled filesystems 2009-08-25 10:07:16 -04:00
namei.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
native.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
newdir.c Fix encoding for rec_len in directories for >= 64k blocksize file systems 2009-06-21 21:07:38 -04:00
nt_io.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
openfs.c libext2fs: read the block group descriptors more efficiently 2009-04-23 01:30:42 -04:00
read_bb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
read_bb_file.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
res_gdt.c libext2fs: initialize large inodes for journal & resize 2009-06-17 19:49:00 -04:00
rw_bitmaps.c libext2fs: Treat uninitialized parts of bitmaps as unallocated 2009-08-09 23:22:32 -04:00
sparse.c Add support for on-line resizing ala the resize inode. This patch 2004-12-15 14:39:16 -05:00
swapfs.c libext2fs: don't swap extent-based journal backup 2009-11-12 19:55:53 -05:00
tdb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tdb.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tdbtool.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
test_io.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_badblocks.c libext2fs: Add error table initialization to test programs 2009-09-08 21:33:03 -04:00
tst_bitops.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_byteswap.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_getsectsize.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_getsize.c libext2fs: Add error table initialization to test programs 2009-09-08 21:33:03 -04:00
tst_iscan.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_super_size.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_types.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
undo_io.c Fix gcc -Wall warnings in libext2fs 2008-06-07 11:53:56 -04:00
unix_io.c unix_io: check for read-only devices when opening R/W 2008-10-12 23:12:22 -04:00
unlink.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
valid_blk.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
version.c Stop after the second '.' when parsing version numbers 2007-07-08 12:37:13 -04:00
write_bb_file.c Fix signed vs unsigned printf format strings for block and inode numbers 2006-09-12 14:56:15 -04:00