Thread (4 messages) 4 messages, 3 authors, 2020-12-09

Re: [PATCH V2] nvme: enable char device per namespace

From: Keith Busch <kbusch@kernel.org>
Date: 2020-12-08 20:59:32
Also in: linux-nvme

On Tue, Dec 08, 2020 at 03:21:51PM +0100, Christoph Hellwig wrote:
quoted
+	sprintf(cdisk_name, "nvme%dn%dc", ctrl->instance, ns->head->instance);
And the most important naming decision is this.  I have two issues with
naming still:

 - we aready use the c for controller in the hidden disk naming.  Although
   that is in a different position, but I think this not super intuitive.
 - this is missing multipath support entirely, so once we want to add
   multipath support we'll run into issues.  So maybe use something
   based off the hidden node naming?  E.g.:

	sprintf(disk_name, "nvme-generic-%dc%dn%d", ctrl->subsys->instance,
		ctrl->instance, ns->head->instance);
+1 for this naming suggestion.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help