Skip to content
Commit ecb94f5f authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 89a4e48f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment