From: sagi@grimberg.me (Sagi Grimberg)
Subject: [PATCH] nvme-ioctl: clear rae for discovery log pages
Date: Fri, 7 Dec 2018 14:05:30 -0800 [thread overview]
Message-ID: <20181207220530.30310-1-sagi@grimberg.me> (raw)
The discovery controller should now be able to send
us discovery log change events so we need to clear the
rae bit for that.
Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
---
nvme-ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nvme-ioctl.c b/nvme-ioctl.c
index be0823dfbcc2..70a16ced925a 100644
--- a/nvme-ioctl.c
+++ b/nvme-ioctl.c
@@ -504,7 +504,7 @@ int nvme_effects_log(int fd, struct nvme_effects_log_page *effects_log)
int nvme_discovery_log(int fd, struct nvmf_disc_rsp_page_hdr *log, __u32 size)
{
- return nvme_get_log(fd, 0, NVME_LOG_DISC, true, size, log);
+ return nvme_get_log(fd, 0, NVME_LOG_DISC, false, size, log);
}
int nvme_sanitize_log(int fd, struct nvme_sanitize_log_page *sanitize_log)
--
2.17.1
next reply other threads:[~2018-12-07 22:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-07 22:05 Sagi Grimberg [this message]
2018-12-07 22:16 ` [PATCH] nvme-ioctl: clear rae for discovery log pages Keith Busch
2018-12-12 8:29 ` Christoph Hellwig
2018-12-13 16:44 ` Sagi Grimberg
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=20181207220530.30310-1-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