commit | e465768938f95388723b0fd3c50a0ae48173edb9 | [log] [tgz] |
---|---|---|
author | Zheng Yan <zheng.yan@oracle.com> | Fri Sep 26 10:04:53 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Sep 26 10:04:53 2008 -0400 |
tree | 0f624a9a98dedfafae902e12b384d27e1100cd3a | |
parent | e8569813849b5da394a195c7e76b4faa452b12d1 [diff] |
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 <chris.mason@oracle.com>