]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: set queue limits for the admin queue
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Mar 2016 17:07:11 +0000 (18:07 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:09 +0000 (13:41 -0700)
commit17d5ba0229ddd0b071ed4e60084c2a6688e761df
treebbc257170d738ff57f3ea079a288e2bf53badfa4
parentd447dccb5150ce8a72cca93ab2c22ce25f9fc1c4
nvme: set queue limits for the admin queue

Factor out a helper to set all the device specific queue limits and apply
them to the admin queue in addition to the I/O queues.  Without this the
command size on the admin queue is arbitrarily low, and the missing
other limitations are just minefields waiting for victims.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Jeff Lien <Jeff.Lien@hgst.com>
Tested-by: Jeff Lien <Jeff.Lien@hgst.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit da35825d9a091a7a1d5824c8468168e2658333ff)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/core.c