• Mike Christie's avatar
    [SCSI] qla2xxx: use new host byte transport errors. · 056a4483
    Mike Christie authored
    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: default avatarMike Christie <michaelc@cs.wisc.edu>
    Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    056a4483
qla_isr.c 48.7 KB