nvme-core: Use nvme_wq to queue async events and fw activation
authorSagi Grimberg <sagi@grimberg.me>
Thu, 21 Sep 2017 14:01:36 +0000 (17:01 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 18:42:11 +0000 (12:42 -0600)
commit1a40d97288c6ffea9b355139e88fa62f0e5439f7
treed490c2ad387e61dff0f0289e0542c4b25b44c3bc
parent8cbd96a6285e8eb65232b5afd3e8d9418453a61c
nvme-core: Use nvme_wq to queue async events and fw activation

async_event_work might race as it is executed from two different
workqueues at the moment.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c