diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-12-24 17:26:59 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-01-12 23:30:11 +0300 |
commit | 363c9aacb6c59bb63148dd115632880a4aed4d88 (patch) | |
tree | d018bf0126b3224ebcf541b8f66dc84964b6d28a /drivers/nvme/host/nvme.h | |
parent | c89e5b80245899fc51fb1d83880e2f5762fcf350 (diff) | |
download | linux-363c9aacb6c59bb63148dd115632880a4aed4d88.tar.xz |
nvme: Move nvme_freeze/unfreeze_queues to nvme core
Nothing pci specific about them and We'll need them exported
in other transports too.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index d88cf45fbcc1..0da67474ce6d 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -237,6 +237,9 @@ int nvme_init_identify(struct nvme_ctrl *ctrl); void nvme_scan_namespaces(struct nvme_ctrl *ctrl); void nvme_remove_namespaces(struct nvme_ctrl *ctrl); +void nvme_freeze_queues(struct nvme_ctrl *ctrl); +void nvme_unfreeze_queues(struct nvme_ctrl *ctrl); + struct request *nvme_alloc_request(struct request_queue *q, struct nvme_command *cmd, unsigned int flags); void nvme_requeue_req(struct request *req); |