[SCSI] qla2xxx: Use 'proper' DID_* status code for dropped-frame scenarios.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Wed, 3 Jun 2009 16:55:18 +0000 (09:55 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 19:46:43 +0000 (14:46 -0500)
commit94b3aa47ac1ea0aa31b3f59ad121cdf55e038594
tree308dd3f096153b0217f8accc8de6e1746fc7d1d2
parentcbc8eb67da11a4972834f61fe4729f4c037a17c9
[SCSI] qla2xxx: Use 'proper' DID_* status code for dropped-frame scenarios.

The SCSI-midlayer's fast-fail codes consider an DID_ERROR status
as a driver-error and the failed I/O would then be retried in the
midlayer without being fast-failed to dm-multipath.  DID_BUS_BUSY
status returns would induce unneeded path-failures events being
propagated to the DM/MD.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_isr.c