From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (Christoph Hellwig) Date: Fri, 14 Dec 2018 17:49:26 +0100 Subject: [PATCH] nvme-pci: only set nr_maps to 2 if poll queues are supported In-Reply-To: <233e6550-efd6-68eb-4b40-3324c34db944@kernel.dk> References: <20181214162019.14847-1-hch@lst.de> <233e6550-efd6-68eb-4b40-3324c34db944@kernel.dk> Message-ID: <20181214164926.GA29052@lst.de> On Fri, Dec 14, 2018@09:47:38AM -0700, Jens Axboe wrote: > On 12/14/18 9:20 AM, Christoph Hellwig wrote: > > 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. > > Looks good to me. Do you want to carry it? If so: > > Reviewed-by: Jens Axboe > > or I can take it directly. Let me know. I can carry it, we've get a few more nvme bits piling up anyway.