]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: restart admin queue if the caller needs to restart queue
authorMing Lei <ming.lei@redhat.com>
Thu, 21 Jul 2022 00:33:58 +0000 (08:33 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 10 Aug 2022 14:05:07 +0000 (16:05 +0200)
commit4420fc47d91ba536c098c170b3d8bd674d4aaf5b
tree7292927d78275d3830d4cf07adba3e8221f52cda
parent88cc11f89dc7e2f29b7e5491eb6b2f560f68501a
nvme-fc: restart admin queue if the caller needs to restart queue

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>
drivers/nvme/host/fc.c