All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Add Subsystem/Ctrl/Namespace relations
@ 2019-05-22 16:39 Max Gurtovoy
  2019-05-22 16:39 ` [PATCH 1/9] nvme: update list-ns nsid option Max Gurtovoy
                   ` (13 more replies)
  0 siblings, 14 replies; 23+ messages in thread
From: Max Gurtovoy @ 2019-05-22 16:39 UTC (permalink / raw)


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...).

Max Gurtovoy (9):
  nvme: update list-ns nsid option
  nvme: update description for "nvme list" command
  fabrics: Fix memory leak of subsys list
  nvme-print: fix json object memory leak
  nvme: fix coding style issue
  nvme: update list-subsys command to show the entire list
  nvme-print: Introduce show_nvme_ctrl helper
  nvme-print: Rename "Paths" --> "Ctrls" for json output in list-subsys
  nvme: Retrieve namespaces during list-subsys cmd

 fabrics.c    |   6 +-
 nvme-print.c |  51 +++++++----
 nvme.c       | 274 +++++++++++++++++++++++------------------------------------
 nvme.h       |   9 +-
 4 files changed, 150 insertions(+), 190 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [PATCH v2 0/9] Add Subsystem/Ctrl/Namespace relations (nvme-cli)
@ 2019-05-23  9:00 Max Gurtovoy
  2019-05-23  9:00 ` [PATCH 9/9] nvme: Retrieve namespaces during list-subsys cmd Max Gurtovoy
  0 siblings, 1 reply; 23+ messages in thread
From: Max Gurtovoy @ 2019-05-23  9:00 UTC (permalink / raw)


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...).

Changes from v1:
 - Added Reviewed-by sign (thanks Minwoo Im)
 - Added check for invalid nsid (proposed by Minwoo Im)
 - Fixed the output for native NVMe multipath

Max Gurtovoy (9):
  nvme: update list-ns nsid option
  nvme: update description for "nvme list" command
  fabrics: Fix memory leak of subsys list
  nvme-print: fix json object memory leak
  nvme: fix coding style issue
  nvme: update list-subsys command to show the entire list
  nvme-print: Introduce show_nvme_ctrl helper
  nvme-print: Rename "Paths" --> "Ctrls" for json output in list-subsys
  nvme: Retrieve namespaces during list-subsys cmd

 fabrics.c    |   6 +-
 nvme-print.c |  52 +++++++----
 nvme.c       | 281 ++++++++++++++++++++++++-----------------------------------
 nvme.h       |   9 +-
 4 files changed, 158 insertions(+), 190 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [PATCH v3 0/9] Add Subsystem/Ctrl/Namespace relations (nvme-cli)
@ 2019-05-27 10:01 Max Gurtovoy
  2019-05-27 10:01 ` [PATCH 9/9] nvme: Retrieve namespaces during list-subsys cmd Max Gurtovoy
  0 siblings, 1 reply; 23+ messages in thread
From: Max Gurtovoy @ 2019-05-27 10:01 UTC (permalink / raw)


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...).

Changes from V2:
 - Added one more Reviewed-by sign (thanks Minwoo Im)
 - Added debug print for invalid nsid (proposed by Kenneth)
 - Updated the output for native NVMe multipath device to print "head" instead
   of hidden devices (proposed by Keith and Christopth)

Changes from V1:
 - Added Reviewed-by sign (thanks Minwoo Im)
 - Added check for invalid nsid (proposed by Minwoo Im)
 - Fixed the output for native NVMe multipath

Max Gurtovoy (9):
  nvme: update list-ns nsid option
  nvme: update description for "nvme list" command
  fabrics: Fix memory leak of subsys list
  nvme-print: fix json object memory leak
  nvme: fix coding style issue
  nvme: update list-subsys command to show the entire list
  nvme-print: Introduce show_nvme_ctrl helper
  nvme-print: Rename "Paths" --> "Ctrls" for json output in list-subsys
  nvme: Retrieve namespaces during list-subsys cmd

 fabrics.c    |   6 +-
 nvme-print.c |  52 ++++++----
 nvme.c       | 305 ++++++++++++++++++++++++++---------------------------------
 nvme.h       |   9 +-
 4 files changed, 181 insertions(+), 191 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2019-05-28 19:54 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22 16:39 [PATCH 0/9] Add Subsystem/Ctrl/Namespace relations Max Gurtovoy
2019-05-22 16:39 ` [PATCH 1/9] nvme: update list-ns nsid option Max Gurtovoy
2019-05-22 16:39 ` [PATCH 2/9] nvme: update description for "nvme list" command Max Gurtovoy
2019-05-22 16:39 ` [PATCH 3/9] fabrics: Fix memory leak of subsys list Max Gurtovoy
2019-05-22 16:39 ` [PATCH 4/9] nvme-print: fix json object memory leak Max Gurtovoy
2019-05-22 16:39 ` [PATCH 5/9] nvme: fix coding style issue Max Gurtovoy
2019-05-22 16:39 ` [PATCH 6/9] nvme: update list-subsys command to show the entire list Max Gurtovoy
2019-05-22 16:39 ` [PATCH 7/9] nvme-print: Introduce show_nvme_ctrl helper Max Gurtovoy
2019-05-22 16:39 ` [PATCH 8/9] nvme-print: Rename "Paths" --> "Ctrls" for json output in list-subsys Max Gurtovoy
2019-05-22 16:39 ` [PATCH 9/9] nvme: Retrieve namespaces during list-subsys cmd Max Gurtovoy
2019-05-22 22:49   ` Keith Busch
2019-05-23  8:01     ` Max Gurtovoy
2019-05-23 13:39       ` Keith Busch
2019-05-23 14:07         ` hch
     [not found] ` <CGME20190522164022epcas4p14ccd01e368a20456b4e2d0cf06644adb@epcms2p3>
2019-05-23  4:14   ` [PATCH 1/9] nvme: update list-ns nsid option Minwoo Im
     [not found] ` <CGME20190522164028epcas5p23fda4f18eb2d8a2e407670f87c5a035b@epcms2p6>
2019-05-23  4:15   ` [PATCH 2/9] nvme: update description for "nvme list" command Minwoo Im
     [not found] ` <CGME20190522164034epcas5p3291dcc21c0724f8b19f80befb4bc4918@epcms2p6>
2019-05-23  4:16   ` [PATCH 4/9] nvme-print: fix json object memory leak Minwoo Im
     [not found] ` <CGME20190522164042epcas4p3f4024bcfb13091b1e47c6a0198215488@epcms2p4>
2019-05-23  4:17   ` [PATCH 5/9] nvme: fix coding style issue Minwoo Im
     [not found] ` <CGME20190522164050epcas4p1a79c71f8c93d3297c3051e8c9b359181@epcms2p8>
2019-05-23  4:18   ` [PATCH 3/9] fabrics: Fix memory leak of subsys list Minwoo Im
2019-05-23  9:00 [PATCH v2 0/9] Add Subsystem/Ctrl/Namespace relations (nvme-cli) Max Gurtovoy
2019-05-23  9:00 ` [PATCH 9/9] nvme: Retrieve namespaces during list-subsys cmd Max Gurtovoy
2019-05-23 15:11   ` Minwoo Im
2019-05-27 10:01 [PATCH v3 0/9] Add Subsystem/Ctrl/Namespace relations (nvme-cli) Max Gurtovoy
2019-05-27 10:01 ` [PATCH 9/9] nvme: Retrieve namespaces during list-subsys cmd Max Gurtovoy
2019-05-28 19:54   ` Sagi Grimberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.