From mboxrd@z Thu Jan 1 00:00:00 1970 From: sagi@grimberg.me (Sagi Grimberg) Date: Mon, 18 Apr 2016 22:41:36 +0300 Subject: [PATCH 4/5] nvme: move namespace scanning to core In-Reply-To: <20160418184903.GD4640@localhost.localdomain> References: <1460982893-11315-1-git-send-email-hch@lst.de> <1460982893-11315-5-git-send-email-hch@lst.de> <57152B88.1080403@grimberg.me> <20160418184903.GD4640@localhost.localdomain> Message-ID: <57153870.9050306@grimberg.me> >> 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?