linux/drivers/scsi/lpfc
James Smart 68c9b55dee scsi: lpfc: Fix abort error path for NVMET
rmmod of driver hangs

As driver instances were being unloaded, the NVME target port was unloaded
first. During the unload, the NVME initiator port sent a heartbeat
IO. Because of the target port state, that IO was scheduled for an Abort;
however, that abort subsequently failed. The failure was not cleaned up
properly and lpfc_sli4_xri_exchange_busy_wait silently hung forever.

Clean failed abort properly and make lpfc_sli4_xri_exchange_busy_wait not
hangs silently while waiting for aborts to complete.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-07-10 22:15:09 -04:00
..
lpfc_attr.c scsi: lpfc: Add Buffer overflow check, when nvme_info larger than PAGE_SIZE 2018-07-10 22:15:08 -04:00
lpfc_attr.h scsi: lpfc: Add Buffer to Buffer credit recovery support 2017-08-24 22:29:43 -04:00
lpfc_bsg.c scsi: lpfc: fix spelling mistakes: "mabilbox" and "maibox" 2018-05-08 01:26:44 -04:00
lpfc_bsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_compat.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_crtn.h scsi: lpfc: Streamline NVME Targe6t WQE setup 2018-03-12 21:55:23 -04:00
lpfc_ct.c scsi: lpfc: Correct missing remoteport registration during link bounces 2018-04-18 19:34:06 -04:00
lpfc_debugfs.c scsi: lpfc: Comment cleanup regarding Broadcom copyright header 2018-05-08 01:03:16 -04:00
lpfc_debugfs.h scsi: lpfc: Change Copyright of 12.0.0.0 modified files to 2018 2018-02-22 20:39:30 -05:00
lpfc_disc.h scsi: lpfc: Correct driver deregistrations with host nvme transport 2017-12-04 20:32:54 -05:00
lpfc_els.c scsi: lpfc: Fix driver not recovering NVME rports during target link faults 2018-04-18 19:34:05 -04:00
lpfc_hbadisc.c scsi: lpfc: Fix MDS diagnostics failure (Rx < Tx) 2018-05-28 22:40:32 -04:00
lpfc_hw4.h scsi: lpfc: Fix 16gb hbas failing cq create. 2018-05-28 22:40:33 -04:00
lpfc_hw.h scsi: lpfc: Change Copyright of 12.0.0.0 modified files to 2018 2018-02-22 20:39:30 -05:00
lpfc_ids.h scsi: lpfc: Change Copyright of 12.0.0.0 modified files to 2018 2018-02-22 20:39:30 -05:00
lpfc_init.c scsi: lpfc: Fix abort error path for NVMET 2018-07-10 22:15:09 -04:00
lpfc_logmsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_mbox.c scsi: lpfc: Add 64G link speed support 2018-02-22 20:39:29 -05:00
lpfc_mem.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
lpfc_nl.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nportdisc.c scsi: lpfc: correct oversubscription of nvme io requests for an adapter 2018-05-28 22:40:33 -04:00
lpfc_nvme.c scsi: lpfc: Fix panic if driver unloaded when port is offline 2018-07-10 22:15:08 -04:00
lpfc_nvme.h scsi: lpfc: Comment cleanup regarding Broadcom copyright header 2018-05-08 01:03:16 -04:00
lpfc_nvmet.c scsi: lpfc: Fix abort error path for NVMET 2018-07-10 22:15:09 -04:00
lpfc_nvmet.h scsi: lpfc: Enlarge nvmet asynchronous receive buffer counts 2018-04-18 19:34:02 -04:00
lpfc_scsi.c scsi: lpfc: Comment cleanup regarding Broadcom copyright header 2018-05-08 01:03:16 -04:00
lpfc_scsi.h scsi: lpfc: Comment cleanup regarding Broadcom copyright header 2018-05-08 01:03:16 -04:00
lpfc_sli4.h scsi: lpfc: Fix 16gb hbas failing cq create. 2018-05-28 22:40:33 -04:00
lpfc_sli.c scsi: lpfc: Fix driver not setting dpp bits correctly in doorbell word 2018-07-10 22:15:08 -04:00
lpfc_sli.h scsi: lpfc: use monotonic timestamps for statistics 2018-06-26 12:00:27 -04:00
lpfc_version.h scsi: lpfc: update driver version to 12.0.0.4 2018-05-28 22:40:33 -04:00
lpfc_vport.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
lpfc_vport.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc.h scsi: lpfc: Enlarge nvmet asynchronous receive buffer counts 2018-04-18 19:34:02 -04:00
Makefile scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00