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

Sagi Grimberg sagi at grimberg.me
Mon Apr 18 12:41:36 PDT 2016


>> 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?



More information about the Linux-nvme mailing list