nvme-fc: release io queues to allow fast fail
authorJames Smart <jsmart2021@gmail.com>
Wed, 20 Jun 2018 14:44:12 +0000 (07:44 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 21 Jun 2018 07:31:28 +0000 (09:31 +0200)
commit02d62a8bc48e92171c46540722e2d52ce77d87af
tree9177599fc90e3aef77f2741c70ba57ab56d6b2e7
parentd68a90e148f5a82aa67654c5012071e31c0e4baa
nvme-fc: release io queues to allow fast fail

Rather than leaving io queues quiesced after tearing down an association,
restart them. This allows ios to be replayed, with fastfail ios terminating
and non-fastfail getting into loops of retry.

This follows rdma's lead.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Sagi Grimberg <sagi@grimber.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c