diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2009-06-18 10:06:55 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-21 12:09:57 -0400 |
commit | 017b2ae33c0fc7d70320cc7f1cce0efb6ce8d929 (patch) | |
tree | 1f598b0900ab8b3cdf4093c032f6fdf90feeca78 /drivers/scsi/ibmvscsi/ibmvfc.h | |
parent | f1d7fb7a8ab55357b6c7d44a53f644a043680ed1 (diff) |
ibmvfc: Fix endless PRLI loop in discovery
Fixes a problem seen where sending a PRLI to a target
resulted in it sending a LOGO. This caused the ibmvfc
driver to go back through discovery again, which caused
another PRLI attempt, which caused another LOGO. Fix this
behavior by ignoring LOGO if we haven't even logged into
the target yet.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvfc.h')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvfc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h index c2668d7d67f5..007fa1c9ef14 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.h +++ b/drivers/scsi/ibmvscsi/ibmvfc.h | |||
@@ -605,6 +605,7 @@ struct ibmvfc_target { | |||
605 | int need_login; | 605 | int need_login; |
606 | int add_rport; | 606 | int add_rport; |
607 | int init_retries; | 607 | int init_retries; |
608 | int logo_rcvd; | ||
608 | u32 cancel_key; | 609 | u32 cancel_key; |
609 | struct ibmvfc_service_parms service_parms; | 610 | struct ibmvfc_service_parms service_parms; |
610 | struct ibmvfc_service_parms service_parms_change; | 611 | struct ibmvfc_service_parms service_parms_change; |