|author||Qu Wenruo <firstname.lastname@example.org>||2015-04-02 10:21:35 +0800|
|committer||David Sterba <email@example.com>||2015-04-02 17:33:37 +0200|
btrfs-progs: convert: Make ext*_image file obey datacsum setting.
Before this patch, ext*_image is always set NODATACSUM inode flag. However btrfs-convert will set normal file with DATACUSM flag by default, and generate checksum for regular file extent. Now, a regular file extent is shared by a btrfs file inode with DATACSUM and ext*_image with NODATACSUM, and it has checksum in csum tree. This will cause btrfsck complain about odd checksum, since ext*_image is set NODATACSUM but has checksum generated from regular file extent. This patch makes convert completely obey datacsum setting, meaning btrfs-convert will generate csum for every file extent by default. Reported-by: Tsutomu Itoh <firstname.lastname@example.org> Signed-off-by: Qu Wenruo <email@example.com> Signed-off-by: David Sterba <firstname.lastname@example.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions