# Re: \[RFC PATCH 0/3\] differentiate between I/O errors

- From: Malahal Naineni \<hidden\>
- Date: 2010-12-10 23:40:36 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2010/12/49209
- Thread: https://ratatoskr.run/linux-scsi/2010/08/44539/t/2.md

```text
Mike Snitzer [snitzer@redhat.com] wrote:
> Refreshed Hannes' initial "scsi: Detailed I/O errors" patch against
> v2.6.37-rc5.  v2 introduces __scsi_error_from_host_byte to avoid
> the duplicate switch statement.  Also a few whitespace and comment
> changes.
> 
> Split DM mpath change out to separate v2 patch; failed discard is now
> retryable in the face of a non-target IO error.
> 
> Added improved block layer's I/O error message (based on the finer
> grained I/O error returns afforded by SCSI).
> 
> Comments/suggestions are welcome.

I did test the Hannes original patch with the latest Linus' git tree! I
used scsi_debug to simulate path failures as well as 'Media' failures
and it did work as expected. I will test your patches soon.

Thanks, Malahal.
```
