On Thu, Apr 02, 2015 at 10:21:35AM +0800, Qu Wenruo wrote: > 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 <t-i...@jp.fujitsu.com> > Signed-off-by: Qu Wenruo <quwen...@cn.fujitsu.com>
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html