From: Josef Bacik Date: Fri, 9 Mar 2012 21:01:49 +0000 (-0500) Subject: Btrfs: introduce free_extent_buffer_stale X-Git-Tag: v3.4-rc1~22^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3083ee2e18b701122a3b841db83448543a87a583;p=pandora-kernel.git Btrfs: introduce free_extent_buffer_stale Because btrfs cow's we can end up with extent buffers that are no longer necessary just sitting around in memory. So instead of evicting these pages, we could end up evicting things we actually care about. Thus we have free_extent_buffer_stale for use when we are freeing tree blocks. This will make it so that the ref for the eb being in the radix tree is dropped as soon as possible and then is freed when the refcount hits 0 instead of waiting to be released by releasepage. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed