From: Roland Dreier <roland at kernel.org>
To: spdk@lists.01.org
Subject: [SPDK] [PATCH] nvmf: Correct log messages when polling recv CQ
Date: Mon, 12 Sep 2016 14:00:48 -0700 [thread overview]
Message-ID: <20160912210048.10787-1-roland@kernel.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
From: Roland Dreier <roland(a)purestorage.com>
Fix copy-and-paste errors - when polling the recv CQ, we should print
"Recv" instead of "Send" in log messages.
Signed-off-by: Roland Dreier <roland(a)purestorage.com>
---
lib/nvmf/rdma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/nvmf/rdma.c b/lib/nvmf/rdma.c
index 367109e13fd8..9671cdca062b 100644
--- a/lib/nvmf/rdma.c
+++ b/lib/nvmf/rdma.c
@@ -1386,13 +1386,13 @@ spdk_nvmf_rdma_poll(struct spdk_nvmf_conn *conn)
if (rc == 0) {
break;
} else if (rc < 0) {
- SPDK_ERRLOG("Error polling Send CQ! (%d): %s\n",
+ SPDK_ERRLOG("Error polling Recv CQ! (%d): %s\n",
errno, strerror(errno));
return -1;
}
if (wc.status) {
- SPDK_ERRLOG("Send CQ error (%d): %s\n",
+ SPDK_ERRLOG("Recv CQ error (%d): %s\n",
wc.status, ibv_wc_status_str(wc.status));
return -1;
}
--
2.9.3
next reply other threads:[~2016-09-12 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 21:00 Roland Dreier [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-09-13 15:29 [SPDK] [PATCH] nvmf: Correct log messages when polling recv CQ Daniel Verkamp
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=20160912210048.10787-1-roland@kernel.org \
--to=spdk@lists.01.org \
/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