commit | 2c943de6ad795a174dcc424c293bb77f15ae3b8c | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon May 18 10:41:58 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Wed Jun 10 11:29:48 2009 -0400 |
tree | 15e54377cb925312ce0332a6520d78ae99b9fafc | |
parent | cfbb9308463f6dad1334884db046ccf0f1a77918 [diff] |
Btrfs: reduce mount -o ssd CPU usage 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: Chris Mason <chris.mason@oracle.com>