From: Josef Bacik Date: Wed, 6 Apr 2011 17:05:22 +0000 (-0400) Subject: Btrfs: deal with the case that we run out of space in the cache X-Git-Tag: v2.6.39-rc4~5^2~9^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be1a12a0dfed06cf1e62e35bf91620dc610a451a;p=pandora-kernel.git Btrfs: deal with the case that we run out of space in the cache Currently we don't handle running out of space in the cache, so to fix this we keep track of how far in the cache we are. Then we only dirty the pages if we successfully modify all of them, otherwise if we have an error or run out of space we can just drop them and not worry about the vm writing them out. Thanks, Tested-by Johannes Hirte Signed-off-by: Josef Bacik --- Reading git-diff-tree failed