[PATCH v4 14/15] nvme-fc: Hold inflight requests while in FENCING state

Randy Jennings randyj at purestorage.com
Fri May 15 17:33:00 PDT 2026


On Fri, Mar 27, 2026 at 5:46 PM Mohamed Khalfella
<mkhalfella at purestorage.com> wrote:
>
> While in FENCING state, aborted inflight IOs should be held until fencing
> is done. Update nvme_fc_fcpio_done() to not complete aborted requests or
> requests with transport errors. These held requests will be canceled in
> nvme_fc_delete_association() after fencing is done. nvme_fc_fcpio_done()
> avoids racing with canceling aborted requests by making sure we complete
> successful requests before waking up the waiting thread.
>
> Signed-off-by: Mohamed Khalfella <mkhalfella at purestorage.com>
> Signed-off-by: James Smart <jsmart833426 at gmail.com>

Reviewed-by: Randy Jennings <randyj at purestorage.com>



More information about the Linux-nvme mailing list