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>

No differences found