diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-06-07 20:31:55 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-15 14:29:43 +0200 |
commit | 9a6327d2f25b14cb568ca2c55ccbc8f00aa400e4 (patch) | |
tree | de7f1f7be9a896aa4bfa497b7ccd6721cdc30e7e /drivers/nvme/host/nvme.h | |
parent | c58bd1bf4d46a020b7a1aa0710bca8191d789caa (diff) | |
download | linux-9a6327d2f25b14cb568ca2c55ccbc8f00aa400e4.tar.gz |
nvme: Move transports to use nvme-core workqueue
Instead of each transport using it's own workqueue, export
a single nvme-core workqueue and use that instead.
In the future, this will help us moving towards some unification
if controller setup/teardown flows.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index e2e341bba619..80e9adce2691 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -33,6 +33,8 @@ extern unsigned char shutdown_timeout; #define NVME_DEFAULT_KATO 5 #define NVME_KATO_GRACE 10 +extern struct workqueue_struct *nvme_wq; + enum { NVME_NS_LBA = 0, NVME_NS_LIGHTNVM = 1, |