From 47059d930f0e002ff851beea87d738146804726d Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Thu, 3 Jul 2014 18:22:07 +0800 Subject: [PATCH] Btrfs: make defragment work with nodatacow option Btrfs defragment will utilize COW feature, which means this did not work for nodatacow option, this problem was detected by xfstests generic/018 with nodatacow mount option. Fix this problem by forcing cow for a extent with state @EXTETN_DEFRAG setting. Signed-off-by: Wang Shilong Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-format-patch failed