tech-kern archive

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

Re: why does raidframe retry I/O 5 times



On Mon, Jun 25, 2012 at 08:50:23AM -0600, Greg Oster wrote:
> On Mon, 25 Jun 2012 11:11:37 +0200
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> 
> > Hello,
> > why does raidframe retry failed I/O 5 times ? the wd(4) driver already
> > retries 5 times, which means a bad block is retried 25 times.
> > While drivers are retrying the system is stalled ...
> 
> As I recall, for RAIDframe 5 was just chosen as an arbitrary number.  Do
> you know if scsi or other disk drivers also retry 5 times too?  

No, only IDE does retry. SCSI and SAS disks, as well as hardware
RAID controller, are supposed to be smarter, and report an error when
it is really a hard error ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index