diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-08-17 09:44:17 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-08-17 09:44:17 -0400 |
commit | ecb94f5fdf4b72547fca022421a9dca1672bddd4 (patch) | |
tree | c0168cfff5ecd338a06bee9f963b0e23e00d3037 /fs/ext4/mballoc.c | |
parent | 89a4e48f8479f8145eca9698f39fe188c982212f (diff) | |
download | op-kernel-dev-ecb94f5fdf4b72547fca022421a9dca1672bddd4.zip op-kernel-dev-ecb94f5fdf4b72547fca022421a9dca1672bddd4.tar.gz |
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>
Diffstat (limited to 'fs/ext4/mballoc.c')
0 files changed, 0 insertions, 0 deletions