]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Btrfs: try to allocate from cluster even at LOOP_NO_EMPTY_SIZE
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Thu, 8 Dec 2011 00:50:42 +0000 (19:50 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 8 Dec 2011 00:50:42 +0000 (19:50 -0500)
commit062c05c46bd4358aad7a0e0cb5ffeb98ab935286
tree1d5b9a84d299fab9345f811b6e246d935200a39b
parentf4a8e6563ea5366f563cb741a27fe90c5fa7f0fc
Btrfs: try to allocate from cluster even at LOOP_NO_EMPTY_SIZE

If we reach LOOP_NO_EMPTY_SIZE, we won't even try to use a cluster that
others might have set up.  Odds are that there won't be one, but if
someone else succeeded in setting it up, we might as well use it, even
if we don't try to set up a cluster again.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c