Re: [PATCH 01/11] nvme: provide optimized poll function for separate poll queues

2018-11-16 Thread Jens Axboe
On 11/16/18 1:35 AM, Christoph Hellwig wrote: > On Thu, Nov 15, 2018 at 12:51:25PM -0700, Jens Axboe wrote: >> If we have separate poll queues, we know that they aren't using >> interrupts. Hence we don't need to disable interrupts around >> finding completions. >> >> Provide a separate set of

Re: [PATCH 01/11] nvme: provide optimized poll function for separate poll queues

2018-11-16 Thread Christoph Hellwig
On Thu, Nov 15, 2018 at 12:51:25PM -0700, Jens Axboe wrote: > If we have separate poll queues, we know that they aren't using > interrupts. Hence we don't need to disable interrupts around > finding completions. > > Provide a separate set of blk_mq_ops for such devices. This looks ok, but I'd

[PATCH 01/11] nvme: provide optimized poll function for separate poll queues

2018-11-15 Thread Jens Axboe
If we have separate poll queues, we know that they aren't using interrupts. Hence we don't need to disable interrupts around finding completions. Provide a separate set of blk_mq_ops for such devices. Signed-off-by: Jens Axboe --- drivers/nvme/host/pci.c | 45