[PATCH] nvme: remove indenty ctrl before scan namespace
张伟平(基础平台部)
zhangweiping at didichuxing.com
Tue Jun 27 17:48:43 PDT 2017
You are right, thanks.
> 在 2017年6月28日,03:39,Keith Busch <keith.busch at intel.com> 写道:
>
>> 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