[SCSI] qla2xxx: use new host byte transport errors.
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 19 Aug 2008 23:45:29 +0000 (18:45 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 13 Oct 2008 13:28:51 +0000 (09:28 -0400)
commit056a44834950ffa51fafa6c76a720fa32e86851a
treecba7635eb187bf12a561ca77053c5db017dfa607
parentf46e307da925a7b71a0018c0510cdc6e588b87fc
[SCSI] qla2xxx: use new host byte transport errors.

This has qla2xxx use the new transport error values instead of
DID_BUS_BUSY. I am not sure if all the errors
in qla_isr.c I changed are transport related. We end up blocking/deleting
the rport for all of them so it is better to use the new transport error since
the fc classs will decide when to fail the IO.

With this patch if I pull a cable then IO that had reached
the driver, will be failed with DID_TRANSPORT_DISRUPTED (not including
tape). The fc class will then fail the IO when the fast io fail tmo
has fired, and the driver will flush any other commands running.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_isr.c