diff options
author | Zheng Yan <zheng.yan@oracle.com> | 2008-09-26 16:04:53 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-26 16:04:53 +0200 |
commit | e465768938f95388723b0fd3c50a0ae48173edb9 (patch) | |
tree | 0f624a9a98dedfafae902e12b384d27e1100cd3a /fs/btrfs/inode-map.c | |
parent | Btrfs: allocator fixes for space balancing update (diff) | |
download | linux-e465768938f95388723b0fd3c50a0ae48173edb9.tar.xz linux-e465768938f95388723b0fd3c50a0ae48173edb9.zip |
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>
Diffstat (limited to 'fs/btrfs/inode-map.c')
0 files changed, 0 insertions, 0 deletions