commit | 8e2399d57ac2bec1830e27deeeac66002d81001c | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Mar 11 12:47:41 2010 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Mar 11 15:58:54 2010 -0500 |
tree | 0a1ff960f6b45ec61e59d4f7fb5e5ffd388b9c8c | |
parent | 4ffafee26cf791c0c651c08d3dcefcdd363bf127 [diff] |
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>