Re: [PATCH] Btrfs: fix wrong csum clone when doing relocation

2013-06-18 Thread Josef Bacik
On Tue, Jun 18, 2013 at 11:13:37AM +0800, Miao Xie wrote: > From: Josef Bacik > > Patch "Btrfs: remove btrfs_sector_sum structure" introduced a problem > that we copied the checksum value to the wrong address when doing > relocation. > > The reason is: > It is very likely that one ordered extent

[PATCH] Btrfs: fix wrong csum clone when doing relocation

2013-06-17 Thread Miao Xie
From: Josef Bacik Patch "Btrfs: remove btrfs_sector_sum structure" introduced a problem that we copied the checksum value to the wrong address when doing relocation. The reason is: It is very likely that one ordered extent has two or more checksum structures to keep the relative checksum value,