• Z
    Btrfs: Add shared reference cache · e4657689
    Zheng Yan 提交于
    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: NChris Mason <chris.mason@oracle.com>
    e4657689
disk-io.c 53.0 KB