]> git.openpandora.org Git - pandora-kernel.git/commitdiff
Btrfs: update nodatacow code v2
authorYan Zheng <zheng.yan@oracle.com>
Thu, 30 Oct 2008 18:20:02 +0000 (14:20 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 30 Oct 2008 18:20:02 +0000 (14:20 -0400)
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>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
fs/btrfs/transaction.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge