Messages in this thread | | | Subject | Re: [PATCHv2] nvme: Assign subsy instance from first ctrl | From | Hannes Reinecke <> | Date | Mon, 9 Sep 2019 12:32:43 +0200 |
| |
On 9/5/19 6:33 PM, Keith Busch wrote: > The namespace disk names must be unique for the lifetime of the > subsystem. This was accomplished by using their parent subsystems' > instances which were allocated independently from the controllers > connected to that subsystem. This allowed name prefixes assigned to > namespaces to match a controller from an unrelated subsystem, and has > created confusion among users examining device nodes. > > Ensure a namespace's subsystem instance never clashes with a controller > instance of another subsystem by transferring the instance ownership > to the parent subsystem from the first controller discovered in that > subsystem. > > Reviewed-by: Logan Gunthorpe <logang@deltatee.com> > Signed-off-by: Keith Busch <kbusch@kernel.org> > --- > v1 -> v2: > > Changelog: reduce sensationalism, fix spelling > > drivers/nvme/host/core.c | 21 ++++++++++----------- > 1 file changed, 10 insertions(+), 11 deletions(-) > Reviewed-by: Hannes Reinecke <hare@suse.com>
Cheers,
Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 247165 (AG München), GF: Felix Imendörffer
| |