[SCSI] ibmvscsi: treat busy and error conditions separately
authorDave C Boutcher <boutcher@cs.umn.edu>
Tue, 13 Jun 2006 02:22:51 +0000 (21:22 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Mon, 26 Jun 2006 14:15:41 +0000 (09:15 -0500)
commitcefbda2d6cd9bf78a93768130729a6d142588d67
tree73c2b6e956d4959c292e550ae230534a2214d23c
parentc65b1445d153a66ca91b00c1f10187e495c17918
[SCSI] ibmvscsi: treat busy and error conditions separately

This patch fixes a condition where ibmvscsi treats a transport error as a
"busy" condition, so no errors were returned to the scsi mid-layer.
In a RAID environment this means that I/O hung rather than failing
over.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ibmvscsi/ibmvscsi.c
drivers/scsi/ibmvscsi/rpa_vscsi.c