Re: [PATCH v2] Btrfs: set scrub page's io_error if failing to submit io

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 29, 2017 at 10:55:16AM -0700, Liu Bo wrote:
> Scrub repairs data by the unit called scrub_block, which may contains
> several pages.  Scrub always tries to look up a good copy of a whole
> block, but if there's no such copy, it tries to do repair page by page.
> 
> If we don't set page's io_error when checking this bad copy, in the last
> step, we may skip this page when repairing bad copy from good copy.

Great, thanks.

> Cc: David Sterba <dsterba@xxxxxxx>
> Signed-off-by: Liu Bo <bo.li.liu@xxxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux