diff options
author | Dick Kennedy <dick.kennedy@broadcom.com> | 2017-08-23 16:55:45 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-24 22:29:42 -0400 |
commit | 6b486ce9ee109c7dc3de31b23724f8e3b3c5ff35 (patch) | |
tree | a7d36f40b02a49022a886c76378646a01ca0f632 /drivers/ps3 | |
parent | a145fda3816ed516af5c589ef296a50897c42ef9 (diff) | |
download | linux-6b486ce9ee109c7dc3de31b23724f8e3b3c5ff35.tar.bz2 |
scsi: lpfc: Fix bad sgl reposting after 2nd adapter reset
Port issue was fixed, the hbacmd reset would take more than 8 minutes to
complete.
There were conflicting NVME SGL posting/reposting responsibilities
between lpfc_online()/lpfc_sli4_hba_setup() and
lpfc_nvme_create_localport(). The lpfc_online() causes a REPOST on
existing NVME SGLs which is not released during the fc port reset.
However, lpfc_nvme_create_localport() wants to allocate new NVME buffers
and post them. Both cancelled out each other which had a side effect of
hosing the mailbox handling that was used to remove the sgl lists -
causing multiple 60s mbx timeouts.
Fix by preserving all SGL lists over the fc port reset.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions