]> www.infradead.org Git - users/jedix/linux-maple.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>
Fri, 16 Dec 2011 19:42:03 +0000 (14:42 -0500)
commit74d2ba270e874ec5b05d2e6f940c1741fe0cea50
tree1ed7d59562a58d9d4421c60e6d9faf4b22e94399
parent28ad42d6166326a4fa12c816aca57eb67ba9122c
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>
(cherry picked from commit 062c05c46bd4358aad7a0e0cb5ffeb98ab935286)
fs/btrfs/extent-tree.c