]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
scsi: qla2xxx: Fix Relogin being triggered too fast
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 4 Dec 2017 22:45:06 +0000 (14:45 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Dec 2017 02:07:05 +0000 (21:07 -0500)
commit4005a995668b8fd58f4cf1460dd4cf63efa18363
tree7e5551a57154a956ad66054b97b4d4ae6b839679
parent5ef696aa9f3ccf999552d924c4e21a348f2bbea9
scsi: qla2xxx: Fix Relogin being triggered too fast

Current driver design schedules relogin process via DPC thread every 1
second. In a large fabric, this DPC thread tries to schedule too many
jobs and might get overloaded. As a result of this processing of DPC
thread, it can schedule relogin earlier than 1 second.

Fixes: 726b85487067d ("qla2xxx: Add framework for async fabric discovery")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_os.c