On Mon, Apr 18, 2016 at 09:46:32PM +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.