From: Josef Bacik Date: Fri, 14 Oct 2011 18:02:10 +0000 (-0400) Subject: Btrfs: allow shrink_delalloc flush the needed reclaimed pages X-Git-Tag: v3.2-rc1~21^2~24^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=877da174301dde9062b915da4c8103048be49702;p=pandora-kernel.git Btrfs: allow shrink_delalloc flush the needed reclaimed pages Currently we only allow a maximum of 2 megabytes of pages to be flushed at a time. This was ok before, but now we have overcommit which will screw us in a heartbeat if we are quickly filling the disk. So instead pick either 2 megabytes or the number of pages we need to reclaim to be safe again, which ever is larger. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed