]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Btrfs: Fix handling of space info full during allocations
authorChris Mason <chris.mason@oracle.com>
Thu, 13 Nov 2008 14:59:33 +0000 (09:59 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 13 Nov 2008 14:59:33 +0000 (09:59 -0500)
commit2ed6d66408527be0d1c6131d44cec7e86008ba26
tree2bed676124963bee4fce1d61c42c2ff8df0f953c
parent6f3577bdc768e6dae3c4d419e89b5a904f470728
Btrfs: Fix handling of space info full during allocations

When we fail to allocate a new block group, we should still do the
checks to make sure allocations try again with the minimum requested
allocation size.

This also fixes a deadlock that come from a missed down_read in
the chunk allocation failure handling.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c