Btrfs: Rewrite btrfs_drop_extents
Rewrite btrfs_drop_extents by using btrfs_duplicate_item, so we can avoid calling lock_extent within transaction. Signed-off-by:Yan Zheng <zheng.yan@oracle.com> Signed-off-by:
Chris Mason <chris.mason@oracle.com>
Showing
- fs/btrfs/ctree.h 2 additions, 5 deletionsfs/btrfs/ctree.h
- fs/btrfs/file.c 263 additions, 396 deletionsfs/btrfs/file.c
- fs/btrfs/inode.c 9 additions, 18 deletionsfs/btrfs/inode.c
- fs/btrfs/ioctl.c 1 addition, 2 deletionsfs/btrfs/ioctl.c
- fs/btrfs/tree-log.c 2 additions, 2 deletionsfs/btrfs/tree-log.c
Loading
Please register or sign in to comment