]> git.baikalelectronics.ru Git - kernel.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)
commitbe235525716c43e7d5180595b76274a081e198b8
tree1d5b9a84d299fab9345f811b6e246d935200a39b
parentc4898adde9b2fcbfcc73d00337cc9b234dd41bff
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