From mboxrd@z Thu Jan 1 00:00:00 1970 From: axboe@kernel.dk (Jens Axboe) Date: Fri, 14 Dec 2018 09:49:43 -0700 Subject: [PATCH] nvme-pci: only set nr_maps to 2 if poll queues are supported In-Reply-To: <20181214164926.GA29052@lst.de> References: <20181214162019.14847-1-hch@lst.de> <233e6550-efd6-68eb-4b40-3324c34db944@kernel.dk> <20181214164926.GA29052@lst.de> Message-ID: <82aab083-17f8-a7d8-f9c1-55fb82ea0d5e@kernel.dk> On 12/14/18 9:49 AM, Christoph Hellwig wrote: > 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. Sounds good, thanks. -- Jens Axboe