[PATCH 4/5] nvme: move namespace scanning to core

Christoph Hellwig hch at lst.de
Mon Apr 18 13:17:20 PDT 2016


On Mon, Apr 18, 2016 at 10:41:36PM +0300, Sagi Grimberg wrote:
>
>>> Why does the affinity hints setting needs to happen
>>> after the ns scan?
>>
>> The driver has no idea what queues are associated to which CPU(s) until
>> after the namespaces are registered with blk-mq. We need to know that
>> mapping before providing affinity hints.
>
> So the name made me think at first that this callout is related
> to ns-scanning (like the driver needs something to finish the scan), is
> post_scan a better name?

Fine with me.



More information about the Linux-nvme mailing list