qla2x00t-32gbit: Fix I/O failures during remote port toggle testing (part 2)

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-12-28 19:20:08 +00:00
parent 3922313aa5
commit 6d60582dff

View File

@@ -49,9 +49,11 @@ int qla_nvme_register_remote(struct scsi_qla_host *vha, struct fc_port *fcport)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)
/*
* See also commit 9dd9686b1419 ("scsi: qla2xxx: Add changes for
* devloss timeout in driver") # v4.17.
* devloss timeout in driver") # v4.17. See also commit dd8d0bf6fb72
* ("scsi: qla2xxx: Fix I/O failures during remote port toggle
* testing") # v5.10.
*/
req.dev_loss_tmo = NVME_FC_DEV_LOSS_TMO;
req.dev_loss_tmo = 0;
#endif
if (fcport->nvme_prli_service_param & NVME_PRLI_SP_INITIATOR)