]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: revamp clustered allocation logic
authorAlexandre Oliva <lxoliva@fsfla.org>
Fri, 14 Oct 2011 15:10:36 +0000 (12:10 -0300)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Fri, 27 Jan 2012 01:20:33 +0000 (17:20 -0800)
commit102fc1fb2f0f2bc82c88dd1b963847c96bb8c530
tree714cd0272bf9508068671a228d66d2275159d7b9
parenta8af21a212c4e440a8be9c0df939da154462cda6
Btrfs: revamp clustered allocation logic

Parameterize clusters on minimum total size, minimum chunk size and
minimum contiguous size for at least one chunk, without limits on
cluster, window or gap sizes.  Don't tolerate any fragmentation for
SSD_SPREAD; accept it for metadata, but try to keep data dense.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
(cherry picked from commit 1bb91902dc90e25449893e693ad45605cb08fbe5)
fs/btrfs/free-space-cache.c