scsi: qla2xxx: Set remote port devloss timeout to 0
authorGiridhar Malavali <gmalavali@marvell.com>
Tue, 2 Apr 2019 21:24:30 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:45:58 +0000 (23:45 -0400)
commitffc81fc07efc94a04695a8c1d458a06aecaf9f30
tree05b07fb67a9255a0e9359c4d898e0a690aa5a266
parentffbc64766683634d2c233519f2e70d2123580108
scsi: qla2xxx: Set remote port devloss timeout to 0

This patch sets remote_port_devloss value to 0. This indicates to FC-NVMe
transport that driver is unloading and transport should not retry.

Fixes: e476fe8af5ff ("scsi: qla2xxx: Fix unload when NVMe devices are configured")
Cc: stable@vger.kernel.org
Signed-off-by: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c