[PATCH 17/18] nvme: move namespace scanning to common code
hch at lst.de
Thu Oct 22 00:39:40 PDT 2015
On Wed, Oct 21, 2015 at 04:27:39PM -0700, J Freyensee wrote:
> I know this is basically just a move into core.c, but with the concept
> of namespace management in the 1.2 spec, would something like
> list_for_each_entry_safe() and/or a spinlock be more appropriate?
Yes, someone should sit down and think about the concurrency model
for namespace scanning. Also we really should look into using Identify
for the active name space list as that will be a lot more efficient for
controllers with lots of namespaces.
More information about the Linux-nvme