From: Chris Mason Date: Fri, 6 Jan 2012 20:23:57 +0000 (-0500) Subject: Btrfs: run chunk allocations while we do delayed refs X-Git-Tag: v3.3-rc1~26^2~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=203bf287cb01a5dc26c20bd3737cecf3aeba1d48;p=pandora-kernel.git Btrfs: run chunk allocations while we do delayed refs Btrfs tries to batch extent allocation tree changes to improve performance and reduce metadata trashing. But it doesn't allocate new metadata chunks while it is doing allocations for the extent allocation tree. This commit changes the delayed refence code to do chunk allocations if we're getting low on room. It prevents crashes and improves performance. Signed-off-by: Chris Mason --- Reading git-diff-tree failed