Re: [PATCH] raid1: handle read error also in readonly mode

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

 



On Fri, Oct 28, 2016 at 02:45:58PM +0200, Tomasz Majchrzak wrote:
> If write is the first operation on a disk and it happens not to be
> aligned to page size, block layer sends read request first. If read
> operation fails, the disk is set as failed as no attempt to fix the
> error is made because array is in auto-readonly mode. Similarily, the
> disk is set as failed for read-only array.
> 
> Take the same approach as in raid10. Don't fail the disk if array is in
> readonly or auto-readonly mode. Try to redirect the request first and if
> unsuccessful, return a read error.
> 
> Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx>

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux