[PATCH 6/6] nvme: track shared namespaces in a siblings list

Christoph Hellwig hch at lst.de
Mon Jun 19 03:19:53 PDT 2017


On Mon, Jun 19, 2017 at 01:12:54PM +0300, Sagi Grimberg wrote:
> General question, Would it make sense to invoke this search from the
> block layer as part of adding a new disk (a new block_device operation)?
> And should the sibling association maybe move up to struct block_device?
> (we could cache nvme_id_ns in nvme_ns for that to happen)?

For the block/nvme multipath code I need to expose the relationship
to the block layer.  But the locking is already complicated enough as
is, so I want to keep the NVMe list as well with that.



More information about the Linux-nvme mailing list