Skip to content

nvme-fc: restart admin queue if the caller needs to restart queue

Ewan D. Milne requested to merge e-milne/centos-stream-9:bz2104461 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2104461 Upstream Status: From upstream git://git.infradead.org/nvme.git branch "nvme-5.20"

Without restarting admin queue in __nvme_fc_abort_outstanding_ios(), it leaves controller not capable of handling admin pt request, and causes io hang.

Fixes it by restarting admin queue if the caller of __nvme_fc_abort_outstanding_ios requires to restart queue.

Signed-off-by: Ming Lei ming.lei@redhat.com Reviewed-by: Sagi Grimberg sagi@grimberg.me Reviewed-by: James Smart jsmart2021@gmail.com Tested-by: Ewan D. Milne emilne@redhat.com Signed-off-by: Christoph Hellwig hch@lst.de (cherry picked from commit 640677042915b69086942c7a6660fb0cfc35f8b7) Signed-off-by: Ewan D. Milne emilne@redhat.com

Merge request reports