Re: [PATCH as468] Retry supposedly unrecoverable hardware errors

2005-02-17 Thread Alan Stern
On Thu, 17 Feb 2005, Douglas Gilbert wrote: ... after a bit further thought, a retry (arguably) is only needed when an unrecoverable (data) error is detected. If we assume the info field indicates an unrecoverable error then the following patch combines the processing of MEDIUM and HARDWARE

Re: [PATCH as468] Retry supposedly unrecoverable hardware errors

2005-02-17 Thread Douglas Gilbert
James Bottomley wrote: On Thu, 2005-02-17 at 14:27 +1000, Douglas Gilbert wrote: Recent SPC-3 and SBC-2 drafts treat the sense keys of MEDIUM ERROR and HARDWARE ERROR in a similar way. Both can return an info field which has the same meaning (lba of first failure). The distinction is that MEDIUM

[PATCH as468] Retry supposedly unrecoverable hardware errors

2005-02-16 Thread Alan Stern
James: This is an updated and unmangled version of the patch sent in by Martin Peschke. Apparently some drives report Hardware Error sense for problems which do improve after retrying, so the patch retries these supposedly unrecoverable errors for such devices. In addition to the IBM ESS