summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libiscsi.c
diff options
context:
space:
mode:
authorMike Christie2008-08-17 22:24:40 +0200
committerJames Bottomley2008-10-13 15:28:46 +0200
commit7b594131c4f38edeb13d8c6c0147949173c47013 (patch)
treec8c8d063eda1067b23d438ad4e82c3e889f9c69c /drivers/scsi/libiscsi.c
parent[SCSI] qla4xxx: return SCSI_MLQUEUE_TARGET_BUSY when driver has detected sess... (diff)
downloadkernel-qcow2-linux-7b594131c4f38edeb13d8c6c0147949173c47013.tar.gz
kernel-qcow2-linux-7b594131c4f38edeb13d8c6c0147949173c47013.tar.xz
kernel-qcow2-linux-7b594131c4f38edeb13d8c6c0147949173c47013.zip
[SCSI] qla2xxx: return SCSI_MLQUEUE_TARGET_BUSY when driver has detected rport error or race
If the fcport is not online then we do not want to block IO to all ports on the host. We just want to stop IO on port not online, so we should be using the SCSI_MLQUEUE_TARGET_BUSY return value. For the case where we race with the rport memset initialization we do not want the queuecommand to be called again so we can just use SCSI_MLQUEUE_TARGET_BUSY for this. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
0 files changed, 0 insertions, 0 deletions