]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/scsi/scsi_error.c
[SCSI] Fix sense key MEDIUM ERROR processing and retry
authorLuben Tuikov <ltuikov@yahoo.com>
Thu, 30 Nov 2006 03:45:23 +0000 (19:45 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 31 Jan 2007 18:18:52 +0000 (12:18 -0600)
commitfd1b494d4a8147da4517fef72d15116bbb1a2dc7
tree73f28f312550a90b062efc63635d0f76afbd33e5
parent7b3b92116387fbea7b3b42553180984a544206d9
[SCSI] Fix sense key MEDIUM ERROR processing and retry

1) If the device reports an uncorrectable MEDIUM ERROR, such
as SK MEDIUM ERROR, ASC UNRECOVERED READ ERR, AMNF DATA
FIELD or RECORD NOT FOUND, then: In scsi_check_sense()
return SUCCESS so as to not retry -- the error is
uncorrectable -- this speeds up total processing time.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Extracted the MEDIUM ERROR piece and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_error.c