nvme: set queue limits for the admin queue
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Mar 2016 17:07:11 +0000 (18:07 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 3 Mar 2016 21:42:50 +0000 (14:42 -0700)
commitda35825d9a091a7a1d5824c8468168e2658333ff
treea79f4c7eaa2d392a6f09f93f691eeea7ba1e479e
parenta1a0e23e49037c23ea84bc8cc146a03584d13577
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>
drivers/nvme/host/core.c
This page took 0.025379 seconds and 5 git commands to generate.