From 6d60582dff2020d11feb9c19961b1e5e62e4caf3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 28 Dec 2020 19:20:08 +0000 Subject: [PATCH] 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 --- qla2x00t-32gbit/qla_nvme.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qla2x00t-32gbit/qla_nvme.c b/qla2x00t-32gbit/qla_nvme.c index b64139107..1b4a26de5 100644 --- a/qla2x00t-32gbit/qla_nvme.c +++ b/qla2x00t-32gbit/qla_nvme.c @@ -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)