• C
    Btrfs: reduce mount -o ssd CPU usage · 2c943de6
    Chris Mason 提交于
    The block allocator in SSD mode will try to find groups of free blocks
    that are close together.  This commit makes it loop less on a given
    group size before bumping it.
    
    The end result is that we are less likely to fill small holes in the
    available free space, but we don't waste as much CPU building the
    large cluster used by ssd mode.
    Signed-off-by: NChris Mason <chris.mason@oracle.com>
    2c943de6
free-space-cache.c 18.6 KB