All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/3] nvme-cli: lnvm: introduce chunk-log command
@ 2019-07-28  6:35 Minwoo Im
  2019-07-28  6:35 ` [PATCH V3 1/3] lnvm: make data_len to sizeof() instead of magic number Minwoo Im
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Minwoo Im @ 2019-07-28  6:35 UTC (permalink / raw)


Hi all,

This series introduces a "chunk-log" subcommand for lnvm extension
plugin.  This command will send a get-log page NVMe admin command to the
given namespace which is for OCSSD.  We just can use nvme get-log
command with log id, but this subcommand is much more easier to use
because it gives parameters.

liblightnvm also provides nvm_cmd rprt_all command to retrieve this
information, but nvme-cli can do it also.  If you have something else
for this, please let me know.

This series also holds few clean-ups for the existing codes.

The last patch is introducing alias command name "geometry" for the
id-ns subcommand.

Please reivew.

Thanks!

Changes to V2:
  - Get the attribute out of the chunk type suggested by Matias

Changes to V1:
  - Add Signed-off-by and Reviewed-by from Matias and Javier
  - Squashed 2/3/4 patches into a single one
  - Remove nested-if suggested by Javier
  - Early return instead of goto suggested by Javier
  - Update print format for chunk-log suggested by Matias

Minwoo Im (3):
  lnvm: make data_len to sizeof() instead of magic number
  lnvm: introduce chunk-log command for chunk info
  lnvm: introduce alias geometry for id-ns for lnvm

 nvme-lightnvm.c          | 81 +++++++++++++++++++++++++++++++++++++++-
 nvme-lightnvm.h          | 17 +++++++++
 plugins/lnvm/lnvm-nvme.c | 81 ++++++++++++++++++++++++++++++++++++++++
 plugins/lnvm/lnvm-nvme.h |  3 +-
 4 files changed, 179 insertions(+), 3 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2019-07-28  6:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-28  6:35 [PATCH V3 0/3] nvme-cli: lnvm: introduce chunk-log command Minwoo Im
2019-07-28  6:35 ` [PATCH V3 1/3] lnvm: make data_len to sizeof() instead of magic number Minwoo Im
2019-07-28  6:35 ` [PATCH V3 2/3] lnvm: introduce chunk-log command for chunk info Minwoo Im
2019-07-28  6:35 ` [PATCH V3 3/3] lnvm: introduce alias geometry for id-ns for lnvm Minwoo Im
2019-07-28  6:36   ` Minwoo Im

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.