]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: check free space in block group before searching for a cluster
authorJosef Bacik <josef@redhat.com>
Fri, 18 Mar 2011 19:13:42 +0000 (15:13 -0400)
committerJosef Bacik <josef@redhat.com>
Mon, 21 Mar 2011 14:25:48 +0000 (10:25 -0400)
commit678850e28b3598c6d8ae7f16b4fd222410a3d540
treea2bce1c429f9efb9d3cc41390afa73839787c96c
parentd469fe35bcb37ad022d67842971ea954982ae47b
Btrfs: check free space in block group before searching for a cluster

The free space cluster stuff is heavy duty, so there is no sense in going
through the entire song and dance if there isn't enough space in the block group
to begin with.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/free-space-cache.c