scsi: qla2xxx: Synchronize rport dev_loss_tmo setting
authorHannes Reinecke <hare@suse.de>
Tue, 14 Dec 2021 11:11:39 +0000 (12:11 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Dec 2021 03:48:33 +0000 (22:48 -0500)
commitbaea0e833f7612483dcb2351240da19f0d0bc011
treec9943a6731b66fe52621e59dbb899dca228e4c51
parent87f77d37d398d92a9963890b14f336dc394f6fa0
scsi: qla2xxx: Synchronize rport dev_loss_tmo setting

Currently, the dev_loss_tmo setting is only ever used for SCSI
devices. This patch reshuffles initialisation such that the SCSI remote
ports are registered before the NVMe ones, allowing the dev_loss_tmo
setting to be synchronized between SCSI and NVMe.

Link: https://lore.kernel.org/r/20211214111139.52503-1-dwagner@suse.de
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_nvme.c