From: sagi@grimberg.me (Sagi Grimberg)
Subject: [PATCH v2 2/1 nvmetcli] nvmet: add namespace debug attr group
Date: Tue, 30 Oct 2018 10:57:29 -0700 [thread overview]
Message-ID: <20181030175729.25011-2-sagi@grimberg.me> (raw)
In-Reply-To: <20181030175729.25011-1-sagi@grimberg.me>
Add a debug class for setting/getting namespace debug features.
Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
---
nvmet/nvme.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nvmet/nvme.py b/nvmet/nvme.py
index 7ab0846bf835..561a9a4c9ba2 100644
--- a/nvmet/nvme.py
+++ b/nvmet/nvme.py
@@ -554,7 +554,7 @@ class Namespace(CFSNode):
if nsid < 1 or nsid > self.MAX_NSID:
raise CFSError("NSID must be 1 to %d" % self.MAX_NSID)
- self.attr_groups = ['device']
+ self.attr_groups = ['device', 'debug']
self._subsystem = subsystem
self._nsid = nsid
self._path = "%s/namespaces/%d" % (self.subsystem.path, self.nsid)
--
2.17.1
next prev parent reply other threads:[~2018-10-30 17:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-30 17:57 [PATCH v2 1/1] nvmet: debug namespace noiob boundary emulation Sagi Grimberg
2018-10-30 17:57 ` Sagi Grimberg [this message]
2018-10-30 20:36 ` Chaitanya Kulkarni
2018-11-08 9:12 ` Christoph Hellwig
2018-11-08 22:11 ` Sagi Grimberg
2018-11-08 22:19 ` Keith Busch
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=20181030175729.25011-2-sagi@grimberg.me \
--to=sagi@grimberg.me \
/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;
as well as URLs for NNTP newsgroup(s).