nvme: default to 0 poll queues
authorJens Axboe <axboe@kernel.dk>
Mon, 19 Nov 2018 15:18:24 +0000 (08:18 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Nov 2018 15:18:24 +0000 (08:18 -0700)
commita4668d9ba4be1ca9f4a39798ba3419fdfef0750d
tree27367fe2b02029157c7c9e0c6a0f063e641576a2
parenta78b03bc7300e4f17b1e510884bea1095d92b17b
nvme: default to 0 poll queues

We need a better way of configuring this, and given that polling is
(still) a bit niche, let's default to using 0 poll queues. That way
we'll have the same read/write/poll behavior as 4.20, and users that
want to test/use polling are required to do manual configuration of the
number of poll queues.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c