OSDN Git Service

nvme: add APIs for stopping/starting admin queue
authorMing Lei <ming.lei@redhat.com>
Thu, 14 Oct 2021 08:17:05 +0000 (16:17 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Oct 2021 00:27:58 +0000 (18:27 -0600)
commita277654bafb51fb8b4cf23550f15926bb02536f4
tree8152fde8c38639f009945b59b60820de612b9451
parent2fc428f6b7ca80794cb9928c90d4de524366659f
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>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h