OSDN Git Service

scsi: lpfc: Fix propagation of devloss_tmo setting to nvme transport
authorJames Smart <jsmart2021@gmail.com>
Wed, 14 Aug 2019 23:56:48 +0000 (16:56 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Aug 2019 02:41:10 +0000 (22:41 -0400)
commita643c6de1441e5cdab88452c46fe7c38b318009e
tree10cb012087ab159b9c4194ede930b2b893f4cb89
parentb95b21193c85db1b2797e38eea4f0fa72c7a087c
scsi: lpfc: Fix propagation of devloss_tmo setting to nvme transport

If admin changes the devloss_tmo on an rport via the fc_remote_port rport
dev_loss_tmo attribute, the value is on set on scsi stack.  The change is
not propagated to NVMe.

The set routine in the lldd lacks the call to
nvme_fc_set_remoteport_devloss() to set the value.

Fix by adding the call to the lldd set routine.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c