From: Chris Mason Date: Wed, 4 Feb 2015 14:59:29 +0000 (-0800) Subject: Btrfs: refill block reserves during truncate X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f75a0e6cdfbce8115487ecbc0968a2c4e01806;p=pandora-kernel.git Btrfs: refill block reserves during truncate When truncate starts, it allocates some space in the block reserves so that we'll have enough to update metadata along the way. For very large files, we can easily go through all of that space as we loop through the extents. This changes truncate to refill the space reservation as it progresses through the file. Signed-off-by: Chris Mason --- Reading git-diff-tree failed