Re: [PATCH v3] Btrfs: bring back repair during read

2017-03-30 Thread Qu Wenruo
At 03/30/2017 01:51 AM, Liu Bo wrote: Commit 20a7db8ab3f2 ("btrfs: add dummy callback for readpage_io_failed and drop checks") made a cleanup around readpage_io_failed_hook, and it was supposed to keep the original sematics, but it also unexpectedly disabled repair during read for dup, raid1

[PATCH v3] Btrfs: bring back repair during read

2017-03-29 Thread Liu Bo
Commit 20a7db8ab3f2 ("btrfs: add dummy callback for readpage_io_failed and drop checks") made a cleanup around readpage_io_failed_hook, and it was supposed to keep the original sematics, but it also unexpectedly disabled repair during read for dup, raid1 and raid10. This fixes the problem by