From: Josef Bacik Date: Tue, 3 Feb 2015 15:50:16 +0000 (-0800) Subject: Btrfs: account for crcs in delayed ref processing X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1262133b8d6f10f5ca7621cd4cf65ddf6254126a;p=pandora-kernel.git Btrfs: account for crcs in delayed ref processing As we delete large extents, we end up doing huge amounts of COW in order to delete the corresponding crcs. This adds accounting so that we keep track of that space and flushing of delayed refs so that we don't build up too much delayed crc work. This helps limit the delayed work that must be done at commit time and tries to avoid ENOSPC aborts because the crcs eat all the global reserves. Signed-off-by: Chris Mason --- Reading git-diff-tree failed