]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: collapse a single extent tree block into the inode if possible
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 13:44:17 +0000 (09:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 13:44:17 +0000 (09:44 -0400)
commitaec59f2483dae7e859aaff3884530828d2b82987
treec0168cfff5ecd338a06bee9f963b0e23e00d3037
parentc3b49378430e87211b00727b1d9f8d559af834b1
ext4: collapse a single extent tree block into the inode if possible

If an inode has more than 4 extents, but then later some of the
extents are merged together, we can optimize the file system by moving
the extents up into the inode, and discarding the extent tree block.
This is important, because if there are a large number of inodes with
an external extent tree blocks where the contents could fit in the
inode, this can significantly increase the fsck time of the file
system.

Google-Bug-Id: 6801242

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c