[PATCH] nvme: remove indenty ctrl before scan namespace

Keith Busch keith.busch at intel.com
Tue Jun 27 12:47:53 PDT 2017


On Tue, Jun 27, 2017 at 11:23:36PM +0800, weiping zhang wrote:
> All nvme host drivers have already identified ctrl beforce scan namespace,
> so when first time identify ctrl we get the number of namespace and store it
> into nvme_ctrl. When we scan namespace just use it instead of indentify again.

The scan work can be schedule in more than just the reset path, though,
which is where ID ctrl is initialized. In those cases, attaching
namespaces may stop working.



More information about the Linux-nvme mailing list