diff options
author | James Smart <jsmart2021@gmail.com> | 2021-01-04 10:02:31 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-07 23:02:36 -0500 |
commit | 3ba6216aaded84207362c806fcb4eb6197926db4 (patch) | |
tree | 590421a51cb07ed22dc55e9f4587801e3618ae9d /lib/ucmpdi2.c | |
parent | c33b1609344f8ac9ac57339f487ca41d659e0143 (diff) |
scsi: lpfc: Fix FW reset action if I/Os are outstanding
If the port is configured for NVME and has any outstanding IOs when a FW
reset is requesteed, outstanding I/Os are not properly cleaned up. This
causes the fw download request to fail.
Fix by clearing the LPFC_SLI_ACTIVE flag to signify the I/O must be
manually flushed by the driver on port reset.
Link: https://lore.kernel.org/r/20210104180240.46824-7-jsmart2021@gmail.com
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
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>
Diffstat (limited to 'lib/ucmpdi2.c')
0 files changed, 0 insertions, 0 deletions