diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-08-17 15:24:40 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 09:28:46 -0400 |
commit | 7b594131c4f38edeb13d8c6c0147949173c47013 (patch) | |
tree | c8c8d063eda1067b23d438ad4e82c3e889f9c69c /include | |
parent | c5e98e912c5423a0ec2eed7aa1064578d44f8a8e (diff) |
[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 'include')
0 files changed, 0 insertions, 0 deletions