]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: revamp clustered allocation logic
authorAlexandre Oliva <lxoliva@fsfla.org>
Fri, 14 Oct 2011 15:10:36 +0000 (12:10 -0300)
committerChris Mason <chris.mason@oracle.com>
Sun, 8 Jan 2012 00:15:15 +0000 (19:15 -0500)
commit1bb91902dc90e25449893e693ad45605cb08fbe5
tree17f514fb0f2c1b0de7681638ba3b2cc69cf28d01
parentfc7c1077ceb99c35e5f9d0ce03dc7740565bb2bf
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>
fs/btrfs/free-space-cache.c