diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-10-14 16:17:05 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 18:27:58 -0600 |
commit | a277654bafb51fb8b4cf23550f15926bb02536f4 (patch) | |
tree | 8152fde8c38639f009945b59b60820de612b9451 /drivers/nvme/host/nvme.h | |
parent | 2fc428f6b7ca80794cb9928c90d4de524366659f (diff) | |
download | linux-a277654bafb51fb8b4cf23550f15926bb02536f4.tar.bz2 |
nvme: add APIs for stopping/starting admin queue
Add two APIs for stopping and starting admin queue.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211014081710.1871747-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
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 ef2467b93adb..e7af00860452 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -679,6 +679,8 @@ void nvme_complete_async_event(struct nvme_ctrl *ctrl, __le16 status, void nvme_stop_queues(struct nvme_ctrl *ctrl); void nvme_start_queues(struct nvme_ctrl *ctrl); +void nvme_stop_admin_queue(struct nvme_ctrl *ctrl); +void nvme_start_admin_queue(struct nvme_ctrl *ctrl); void nvme_kill_queues(struct nvme_ctrl *ctrl); void nvme_sync_queues(struct nvme_ctrl *ctrl); void nvme_sync_io_queues(struct nvme_ctrl *ctrl); |