From: Christoph Hellwig Date: Mon, 16 Nov 2015 11:40:02 +0000 (+0100) Subject: nvme: fix admin queue depth X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4680072003df14230e9eeeeefb617401012234a5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git nvme: fix admin queue depth The number in tag_set->queue depth includes the reserved tags. Signed-off-by: Christoph Hellwig Acked-by: Keith Busch Signed-off-by: Jens Axboe --- diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index c83f0d8a592b..686a4e230841 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -1431,7 +1431,7 @@ static int nvme_alloc_admin_tags(struct nvme_dev *dev) if (!dev->ctrl.admin_q) { dev->admin_tagset.ops = &nvme_mq_admin_ops; dev->admin_tagset.nr_hw_queues = 1; - dev->admin_tagset.queue_depth = NVME_AQ_DEPTH - 1; + dev->admin_tagset.queue_depth = NVME_AQ_DEPTH; dev->admin_tagset.reserved_tags = 1; dev->admin_tagset.timeout = ADMIN_TIMEOUT; dev->admin_tagset.numa_node = dev_to_node(dev->dev);