aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2019-09-05 10:33:54 -0600
committerSagi Grimberg <[email protected]>2019-09-12 08:50:46 -0700
commit733e4b69d508d03c20adfdcf4bd27abc60fae9cc (patch)
treeeaab35e63c94ebf354deb53dd0acdc38cc3e6a5c /lib/test_overflow.c
parent312910f4d2fed987d1f4a6cd75e86c926e9ad557 (diff)
nvme: Assign subsys instance from first ctrl
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 <[email protected]> Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Minwoo Im <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions