[PATCH rfc 04/10] block: Add a non-selective polling interface

Bart Van Assche Bart.VanAssche at sandisk.com
Tue Mar 14 14:21:59 PDT 2017


On Mon, 2017-03-13 at 10:15 +0200, Sagi Grimberg wrote:
> > Additionally, I think making the hardware context an argument of this function
> > instead of using blk_mq_map_queue(q, smp_processor_id()) would make this
> > function much more versatile.
> 
> What do you mean? remember that the callers interface to the device is
> a request queue, it doesn't even know if its a blk-mq device. Can you
> explain in more details what you would like to see?

Have you considered to make the CPU ID an argument instead of using the
smp_processor_id() result?

Bart.


More information about the Linux-nvme mailing list