OSDN Git Service

nvmet: bump NVMET_NR_QUEUES to 128
authorJames Smart <jsmart2021@gmail.com>
Mon, 11 Sep 2017 23:14:50 +0000 (16:14 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Oct 2017 07:43:58 +0000 (09:43 +0200)
Raise the max number of IO queues to 128. There are several hosts with
more than 64 cpus/threads.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/nvmet.h

index 7b8e20a..e342f02 100644 (file)
@@ -314,7 +314,7 @@ u16 nvmet_copy_from_sgl(struct nvmet_req *req, off_t off, void *buf,
 u32 nvmet_get_log_page_len(struct nvme_command *cmd);
 
 #define NVMET_QUEUE_SIZE       1024
-#define NVMET_NR_QUEUES                64
+#define NVMET_NR_QUEUES                128
 #define NVMET_MAX_CMD          NVMET_QUEUE_SIZE
 #define NVMET_KAS              10
 #define NVMET_DISC_KATO                120