From: Chris Mason Date: Wed, 17 Dec 2014 17:41:04 +0000 (-0800) Subject: btrfs: actively run the delayed refs while deleting large files X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28ed1345a50491d78e1454ad4005dc5d3557a69e;p=pandora-kernel.git btrfs: actively run the delayed refs while deleting large files When we are deleting large files with large extents, we are building up a huge set of delayed refs for processing. Truncate isn't checking often enough to see if we need to back off and process those, or let a commit proceed. The end result is long stalls after the rm, and very long commit times. During the commits, other processes back up waiting to start new transactions and we get into trouble. Signed-off-by: Chris Mason --- Reading git-diff-tree failed