mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 13:07:13 +07:00
scsi: qedi: Fix termination timeouts in session logout
The destroy connection ramrod timed out during session logout. Fix the wait delay for graceful vs abortive termination as per the FW requirements. Link: https://lore.kernel.org/r/20200408064332.19377-7-mrangankar@marvell.com Reviewed-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Manish Rangankar <mrangankar@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
c6bfa70720
commit
b9b97e6903
@ -1065,6 +1065,9 @@ static void qedi_ep_disconnect(struct iscsi_endpoint *ep)
|
||||
break;
|
||||
}
|
||||
|
||||
if (!abrt_conn)
|
||||
wait_delay += qedi->pf_params.iscsi_pf_params.two_msl_timer;
|
||||
|
||||
qedi_ep->state = EP_STATE_DISCONN_START;
|
||||
ret = qedi_ops->destroy_conn(qedi->cdev, qedi_ep->handle, abrt_conn);
|
||||
if (ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user