]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Btrfs: Try harder while searching for free space
authorChris Mason <chris.mason@oracle.com>
Mon, 10 Nov 2008 16:47:09 +0000 (11:47 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 10 Nov 2008 16:47:09 +0000 (11:47 -0500)
commitf5a31e166772a7b9fff6725b697eb8b57633671e
tree16cbd822a7b56a0314d791902704754f06de233f
parente04ca626baee684bea9d6239e4e1119b696101b2
Btrfs: Try harder while searching for free space

The loop searching for free space would exit out too soon when
metadata clustering was trying to allocate a large extent.  This makes
sure a full scan of the free space is done searching for only the
minimum extent size requested by the higher layers.

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