[RFC PATCH v2 0/1] Add visibility for native NVMe multipath using sysfs

Keith Busch kbusch at kernel.org
Fri Aug 9 13:34:32 PDT 2024


On Fri, Aug 09, 2024 at 10:59:56PM +0530, Nilay Shroff wrote:
> # cat /sys/block/nvme0n1/multipath/queue_depth 
> nvme0c0n1 423
> nvme0c3n1 425

I am not sure this matches up to the desire for 1 value per file. What I
thought we wanted was a directory for each path, so it'd look something
like:

 /sys/block/nvme0n1/multipatch/nvme0c0n1/
 /sys/block/nvme0n1/multipatch/nvme0c3n1/

And each directory has their attributes so they print exactly one value
instead of the multi-line output. You'd know which path the output
corresponds to from the file's directory.



More information about the Linux-nvme mailing list