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

From: Malahal Naineni
Date: Fri Dec 10 2010 - 18:40:48 EST


Mike Snitzer [snitzer@xxxxxxxxxx] 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/