• Yan Zheng's avatar
    Btrfs: Remove offset field from struct btrfs_extent_ref · 3bb1a1bc
    Yan Zheng authored
    The offset field in struct btrfs_extent_ref records the position
    inside file that file extent is referenced by. In the new back
    reference system, tree leaves holding references to file extent
    are recorded explicitly. We can scan these tree leaves very quickly, so the
    offset field is not required.
    
    This patch also makes the back reference system check the objectid
    when extents are in deleting.
    Signed-off-by: default avatarYan Zheng <zheng.yan@oracle.com>
    3bb1a1bc
file.c 31.2 KB