From: Zheng Yan Date: Fri, 26 Sep 2008 14:04:53 +0000 (-0400) Subject: Btrfs: Add shared reference cache X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e465768938f95388723b0fd3c50a0ae48173edb9;p=pandora-kernel.git Btrfs: Add shared reference cache Btrfs has a cache of reference counts in leaves, allowing it to avoid reading tree leaves while deleting snapshots. To reduce contention with multiple subvolumes, this cache is private to each subvolume. This patch adds shared reference cache support. The new space balancing code plays with multiple subvols at the same time, So the old per-subvol reference cache is not well suited. Signed-off-by: Chris Mason --- Reading git-diff-tree failed