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>
This commit is contained in:
committed by
Martin K. Petersen
parent
bee8b84686
commit
cc28e0ace9
@@ -5063,6 +5063,10 @@ qla2x00_do_work(struct scsi_qla_host *vha)
|
||||
break;
|
||||
case QLA_EVT_SP_RETRY:
|
||||
qla_sp_retry(vha, e);
|
||||
break;
|
||||
case QLA_EVT_IIDMA:
|
||||
qla_do_iidma_work(vha, e->u.fcport.fcport);
|
||||
break;
|
||||
}
|
||||
if (e->flags & QLA_EVT_FLAG_FREE)
|
||||
kfree(e);
|
||||
|
||||
Reference in New Issue
Block a user