commit | ed92ad37e88555864f1f830db4037b9535b3392c | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Dec 14 14:06:59 2018 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Tue Dec 18 17:50:44 2018 +0100 |
tree | ee78b423c8cdf3b037f4e924ea2dc351a2a2efc5 | |
parent | 5698b805fbf09a5dfa60829f5a179c0568a8dc3b [diff] |
nvme-pci: only set nr_maps to 2 if poll queues are supported The block layer now enables polling support on a queue if nr_maps includes the poll map, so we should only set that if we actually support poll queues. Fixes: 6544d229bf ("block: enable polling by default if a poll map is initalized") Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jens Axboe <axboe@kernel.dk> Reviewed-by: Sagi Grimberg <sagi@grimberg.me>