]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
scsi: lpfc: Linux LPFC driver does not process all RSCNs
authorJames Smart <jsmart2021@gmail.com>
Tue, 21 Nov 2017 00:00:38 +0000 (16:00 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Dec 2017 01:32:54 +0000 (20:32 -0500)
commit4938250ebdb89bd7ed9e4735ac705403fcd1e832
treec47d4d4cddd916a5f4eb8324c883b8c09946077f
parentb7e50c536e8e4c6d4c74a1d54a0ce33edbf9dd0a
scsi: lpfc: Linux LPFC driver does not process all RSCNs

During RSCN storms, the driver does not rediscover some targets.  The
driver marks some RSCN as to be handled after the ones it's working
on. The driver missed processing some deferred RSCN.

Move where the driver checks for deferred RSCNs and initiate deferred
RSCN handling if the flag was set. Also revise nport state within the
RSCN confirm routine. Add some state data to a possible debug print to
aid future debugging.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c