Add Subsystem/Ctrl/Namespace relations (nvme-cli)
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 9 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/9] Add Subsystem/Ctrl/Namespace relations (nvme-cli)
Quoted 9 lines
This patchset introduce few small bug fixes for memory leaks, improve coding style, improve code readability and mainly focus on the "nvme list-subsys" command. This command will show the whole NVM subsystem list (same as "nvme list" does for namespaces).
The patchset ends with adding namespaces entry per each ctrl in the system. Actually, at first stage, we'll print only the namespace handle (nvme0n1 for example). Later on, we can add more attribute per demand (uuid, nguid, capacity, etc...).
Can you split patches 1-5 to a separate fixes series? Would be easier to review.
As for the list-subsys, I think that when passing the namespace handle it should only output the corresponding namespace from each controller.
list-subsys in my mind should probably stay as is without a namespace handle passed because it doesn't give any meaningful information without the mpath-namespace to slaves mapping.
Instead, a more effective display would be the mapping of each mpath namespace to the corresponding slave namespaces. Perhaps with a new command "list-mpath"?
On a side question, what does this information give the user if the slave devices don't have a device node?