From: Liu Bo Date: Sun, 29 Dec 2013 13:44:50 +0000 (+0800) Subject: Btrfs: return free space to global_rsv as much as possible X-Git-Tag: v3.14-rc1~29^2~62 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17504584f52af944960f1ad16752aa10a0755b3b;p=pandora-kernel.git Btrfs: return free space to global_rsv as much as possible @full is not protected within global_rsv.lock, so we may think global_rsv is already full but in fact it's not, so we miss the opportunity to return free space to global_rsv directly when we release other block_rsvs. Signed-off-by: Liu Bo Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed