From: Josef Bacik Date: Fri, 21 Jan 2011 21:10:01 +0000 (+0000) Subject: Btrfs: make shrink_delalloc a little friendlier X-Git-Tag: v2.6.38-rc4~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1953bcec95c189b1eea690a08e89646d7750bda;p=pandora-kernel.git Btrfs: make shrink_delalloc a little friendlier Xfstests 224 will just sit there and spin for ever until eventually we give up flushing delalloc and exit. On my box this took several hours. I could not interrupt this process either, even though we use INTERRUPTIBLE. So do 2 things 1) Keep us from looping over and over again without reclaiming anything 2) If we get interrupted exit the loop I tested this and the test now exits in a reasonable amount of time, and can be interrupted with ctrl+c. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed