]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bc76d4ad2c0a4c4bbcd616f627d31b22df05df5
tree064fc233a8e3f99dfbfad47a4e4f798655873ef2
parent3086a7e8639e36678341b1d78bb7f62b6f5983e1
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