nvme-fc: avoid workqueue flush stalls
authorJames Smart <jsmart2021@gmail.com>
Thu, 28 Sep 2017 16:56:31 +0000 (09:56 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Nov 2017 15:28:03 +0000 (16:28 +0100)
commit71c691fd06cc2625966620c93ce21bdcce32ed95
tree064fc233a8e3f99dfbfad47a4e4f798655873ef2
parentecad0d2cb8a7997afdc95031ee3328b997aba5c4
nvme-fc: avoid workqueue flush stalls

There's no need to wait for the full nvme_wq, which is now shared,
to flush. flush only the delete_work item.

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