From: minwoo.im.dev@gmail.com (Minwoo Im)
Subject: [PATCH V2 3/3] lnvm: introduce alias geometry for id-ns for lnvm
Date: Sun, 28 Jul 2019 04:32:49 +0900 [thread overview]
Message-ID: <20190727193249.22655-4-minwoo.im.dev@gmail.com> (raw)
In-Reply-To: <20190727193249.22655-1-minwoo.im.dev@gmail.com>
Now we have 2.0 OCSSD spec which introudces Geometry command instead of
Identity or something else. This patch just adds an alias for this
command for the given NVMe namespace with backward compatibility.
Cc: Keith Busch <kbusch at kernel.org>
Cc: Matias Bjorling <mb at lightnvm.io>
Cc: Javier Gonz?lez <javier at javigon.com>
Signed-off-by: Minwoo Im <minwoo.im.dev at gmail.com>
---
plugins/lnvm/lnvm-nvme.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/lnvm/lnvm-nvme.h b/plugins/lnvm/lnvm-nvme.h
index e25f756..45b3cf0 100644
--- a/plugins/lnvm/lnvm-nvme.h
+++ b/plugins/lnvm/lnvm-nvme.h
@@ -11,7 +11,7 @@ PLUGIN(NAME("lnvm", "LightNVM specific extensions"),
COMMAND_LIST(
ENTRY("list", "List available LightNVM devices", lnvm_list)
ENTRY("info", "List general information and available target engines", lnvm_info)
- ENTRY("id-ns", "List geometry for LightNVM device", lnvm_id_ns)
+ ENTRY("id-ns", "List geometry for LightNVM device", lnvm_id_ns, "geometry")
ENTRY("chunk-log", "Chunk Information Log Page", lnvm_chunk_log)
ENTRY("init", "Initialize media manager on LightNVM device", lnvm_init)
ENTRY("create", "Create target on top of a LightNVM device", lnvm_create_tgt)
--
2.17.1
next prev parent reply other threads:[~2019-07-27 19:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-27 19:32 [PATCH V2 0/3] nvme-cli: lnvm: introduce chunk-log command Minwoo Im
2019-07-27 19:32 ` [PATCH V2 1/3] lnvm: make data_len to sizeof() instead of magic number Minwoo Im
2019-07-27 19:32 ` [PATCH V2 2/3] lnvm: introduce chunk-log command for chunk info Minwoo Im
2019-07-27 19:52 ` Matias Bjørling
2019-07-28 3:18 ` Minwoo Im
2019-07-27 19:32 ` Minwoo Im [this message]
2019-07-27 19:53 ` [PATCH V2 3/3] lnvm: introduce alias geometry for id-ns for lnvm Matias Bjørling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190727193249.22655-4-minwoo.im.dev@gmail.com \
--to=minwoo.im.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox