Re: [PATCH v1 6/6] scrub: add fixup code for errors on nodatasum files

2011-06-18 Thread Jan Schmidt
Lots of quotation removed. All removed comments accepted. On 16.06.2011 23:27, David Sterba wrote: > On Mon, Jun 13, 2011 at 09:10:39PM +0200, Jan Schmidt wrote: >> +struct scrub_fixup_nodatasum { >> +struct scrub_dev*sdev; >> +u64 logical; >> +struct btrfs_

Re: [PATCH v1 6/6] scrub: add fixup code for errors on nodatasum files

2011-06-16 Thread David Sterba
On Mon, Jun 13, 2011 at 09:10:39PM +0200, Jan Schmidt wrote: > This removes a FIXME comment and introduces the first part of nodatasum > fixup: It gets the corresponding inode for a logical address and triggers a > regular readpage for the corrupted sector. > > Once we have on-the-fly error correc

[PATCH v1 6/6] scrub: add fixup code for errors on nodatasum files

2011-06-13 Thread Jan Schmidt
This removes a FIXME comment and introduces the first part of nodatasum fixup: It gets the corresponding inode for a logical address and triggers a regular readpage for the corrupted sector. Once we have on-the-fly error correction our error will be automatically corrected. The correction code is