]> git.baikalelectronics.ru Git - kernel.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)
commit46a139243585b3b36d224f61d17afd534928c5db
tree16cbd822a7b56a0314d791902704754f06de233f
parent55c7cf9283e45184b91d3771858c66d3cd021ac6
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