commit | 424de6e8e3a2a9681a0f78f7212020c07d6cb3be | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jan 19 19:35:33 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jan 20 22:16:16 2014 -0500 |
tree | f0e820a8457f058aa4dc654ee6109411c77326f0 | |
parent | fccdbac394542786f641e768c76f093edcdf1dc6 [diff] |
libext2fs: optimize ext2fs_new_block2() If there are hundreds of thousands of blocks which are in use before the first free block, it is much, MUCH faster to use ext2fs_find_first_zero_block_bitmap2() instead of searching the allocation bitmap bit by bit. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>