Re: [PATCH 3/7] nvme: track shared namespaces

2017-11-09 Thread Martin K. Petersen
Christoph, > Introduce a new struct nvme_ns_head that holds information about an > actual namespace, unlike struct nvme_ns, which only holds the > per-controller namespace information. For private namespaces there is > a 1:1 relation of the two, but for shared namespaces this lets us > discover

[PATCH 3/7] nvme: track shared namespaces

2017-11-09 Thread Christoph Hellwig
Introduce a new struct nvme_ns_head that holds information about an actual namespace, unlike struct nvme_ns, which only holds the per-controller namespace information. For private namespaces there is a 1:1 relation of the two, but for shared namespaces this lets us discover all the paths to it.