]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: lpfc: Add clean up of aborted NVMe commands during PCI fcn reset
authorJustin Tee <justin.tee@broadcom.com>
Thu, 12 Feb 2026 21:30:04 +0000 (13:30 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 24 Feb 2026 18:06:52 +0000 (13:06 -0500)
commit559a6c2ab097695f7b3cd4fdd5f6aca81ae3da09
tree41fd45e28454229e69860182db18f97540cdac18
parent2da10bcaa58a389ca60f8e788180e0dca00739bc
scsi: lpfc: Add clean up of aborted NVMe commands during PCI fcn reset

When handling a PCI function reset, notification to the NVMe transport
layer is skipped for outstanding aborted NVMe I/O.  Introduce a new
routine called lpfc_nvme_flush_abts_list(), which notifies upper NVMe
transport layer of outstanding aborted NVMe I/O that are not planned to
be completed normally due to a PCI function reset request.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260212213008.149873-10-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_nvme.c