-
- Downloads
Btrfs: update nodatacow code v2
This patch simplifies the nodatacow checker. If all references
were created after the latest snapshot, then we can avoid COW
safely. This patch also updates run_delalloc_nocow to do more
fine-grained checking.
Signed-off-by:
Yan Zheng <zheng.yan@oracle.com>
Showing
- fs/btrfs/ctree.h 5 additions, 3 deletionsfs/btrfs/ctree.h
- fs/btrfs/extent-tree.c 18 additions, 113 deletionsfs/btrfs/extent-tree.c
- fs/btrfs/inode.c 124 additions, 89 deletionsfs/btrfs/inode.c
- fs/btrfs/ioctl.c 1 addition, 0 deletionsfs/btrfs/ioctl.c
- fs/btrfs/ordered-data.c 3 additions, 6 deletionsfs/btrfs/ordered-data.c
- fs/btrfs/ordered-data.h 1 addition, 2 deletionsfs/btrfs/ordered-data.h
- fs/btrfs/transaction.c 2 additions, 0 deletionsfs/btrfs/transaction.c
Loading
Please register or sign in to comment