diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2018-05-01 09:01:48 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-08 00:46:11 -0400 |
commit | cc28e0ace97c5615cc2333d98827751cd0d794d1 (patch) | |
tree | 38cfac211399e6339db9b33d8f958ced90c937c1 /drivers/scsi/qla2xxx/qla_target.c | |
parent | bee8b84686c4918354dcf7eef5481b06bde8c26e (diff) | |
download | op-kernel-dev-cc28e0ace97c5615cc2333d98827751cd0d794d1.zip op-kernel-dev-cc28e0ace97c5615cc2333d98827751cd0d794d1.tar.gz |
scsi: qla2xxx: Move GPSC and GFPNID out of session management
Move GPSC & GFPNID commands out of session management to reduce time lag
in reporting the session state to remote port. These commands are not
essential when it comes to maintaining the rport state. Delay sending
these commands after rport state is set to Online.
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_target.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_target.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 8564070..3e8bf72 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -4835,7 +4835,6 @@ static int qlt_24xx_handle_els(struct scsi_qla_host *vha, switch (sess->disc_state) { case DSC_LOGIN_PEND: case DSC_GPDB: - case DSC_GPSC: case DSC_UPD_FCPORT: case DSC_LOGIN_COMPLETE: case DSC_ADISC: |