From: Jens Axboe Date: Fri, 6 Mar 2015 19:56:13 +0000 (-0700) Subject: NVMe: increase depth of admin queue X-Git-Tag: v4.1-rc1~105^2~14 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d31af0a325ca4ff8e57b8616ab2228913df369ad;p=linux-block.git NVMe: increase depth of admin queue Usually the admin queue depth of 64 is plenty, but for some use cases we really need it larger. Examples are use cases like MAT, where you have to touch all of NAND for init/format like purposes. In those cases, we see a good 2x increase with an increased queue depth. Signed-off-by: Jens Axboe Acked-by: Keith Busch --- diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index 4dc858b43c92..ef432786213b 100644 --- a/drivers/block/nvme-core.c +++ b/drivers/block/nvme-core.c @@ -44,7 +44,7 @@ #define NVME_MINORS (1U << MINORBITS) #define NVME_Q_DEPTH 1024 -#define NVME_AQ_DEPTH 64 +#define NVME_AQ_DEPTH 256 #define SQ_SIZE(depth) (depth * sizeof(struct nvme_command)) #define CQ_SIZE(depth) (depth * sizeof(struct nvme_completion)) #define ADMIN_TIMEOUT (admin_timeout * HZ)