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)
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>

No differences found