commit | 47059d930f0e002ff851beea87d738146804726d | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Thu Jul 03 18:22:07 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:37:26 2014 -0700 |
tree | 5f32e2b5a7630cfd53c24fa9cad873c86368cff8 | |
parent | 48fcc3ff7dce0138c053833adf81670494f177f3 [diff] |
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 <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>