Thread (10 messages) 10 messages, 5 authors, 2019-06-24

[RFC] mismatch between chardev and blkdev node names

From: Alex Lyakas <hidden>
Date: 2019-06-24 18:35:24

Minwoo Im,

Thanks for the explanation.

Alex.


-----Original Message----- 
From: Minwoo Im
Sent: Sunday, June 23, 2019 2:57 PM
To: Alex Lyakas
Cc: Sagi Grimberg ; Keith Busch ; Minwoo Im ; linux-nvme ; Minwoo Im
Subject: Re: [RFC] mismatch between chardev and blkdev node names

On 19-06-23 20:54:25, Minwoo Im wrote:
On 19-06-23 11:13:54, Alex Lyakas wrote:
quoted
Hello,

if we look at the UDEV DEVPATH propertys of a particular nvme block 
device,
for example:

DEVPATH=/devices/virtual/nvme-fabrics/ctl/nvmeX/nvmeYnZ

Would it be correct to say that "nvmeX" is the controller instance for 
this
particular block device (or one of the instances)?
Yes, for the above path, The corresponding blkdev of the nvmeX subsystem
is nvmeYnZ.  We just need to be aware if the MULTIPATH is enabled or
I mean if subsystem has multiple namespaces, then nvmeYnZ is one of
them.
not.  If so, the X will be a subsystem instance which can be checked by
nvme list-subsys.  If not, the X is the controller instance name.

Thanks, 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help