Re: [PATCH] Btrfs-progs: convert: do not clear nodatasum flag in inode item

2017-06-30 Thread David Sterba
On Wed, Jun 28, 2017 at 03:29:49PM -0600, Liu Bo wrote: > With the current btrfs-convert, if we convert a ext4 without data checksum, > it'd not set nodatasum flag in inode item, nor create csum item, reading > file ends up with checksum errors. > > Signed-off-by: Liu Bo

Re: [PATCH] Btrfs-progs: convert: do not clear nodatasum flag in inode item

2017-06-28 Thread Lakshmipathi.G
Could you please add also a test-script for this interesting issue under tests/convert-tests (If its not already there)?. thanks. Cheers, Lakshmipathi.G http://www.giis.co.in http://www.webminal.org On Thu, Jun 29, 2017 at 2:59 AM, Liu Bo wrote: > With the current

[PATCH] Btrfs-progs: convert: do not clear nodatasum flag in inode item

2017-06-28 Thread Liu Bo
With the current btrfs-convert, if we convert a ext4 without data checksum, it'd not set nodatasum flag in inode item, nor create csum item, reading file ends up with checksum errors. Signed-off-by: Liu Bo --- convert/source-ext2.c | 2 +- 1 file changed, 1 insertion(+), 1