summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-02-19 11:38:57 +0100
committerIlya Dryomov <idryomov@gmail.com>2016-02-24 20:28:51 +0100
commitcd8140c673d9ba9be3591220e1b2226d9e1e40d3 (patch)
treeec436be5607036aa661e80e4b4b4c2dfd9cadd24
parentdbc0d3caff5b7591e0cf8e34ca686ca6f4479ee1 (diff)
downloadop-kernel-dev-cd8140c673d9ba9be3591220e1b2226d9e1e40d3.zip
op-kernel-dev-cd8140c673d9ba9be3591220e1b2226d9e1e40d3.tar.gz
libceph: don't spam dmesg with stray reply warnings
Commit d15f9d694b77 ("libceph: check data_len in ->alloc_msg()") mistakenly bumped the log level on the "tid %llu unknown, skipping" message. Turn it back into a dout() - stray replies are perfectly normal when OSDs flap, crash, get killed for testing purposes, etc. Cc: stable@vger.kernel.org # 4.3+ Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org>
-rw-r--r--net/ceph/osd_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index 3534e12..5bc0537 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -2853,8 +2853,8 @@ static struct ceph_msg *get_reply(struct ceph_connection *con,
mutex_lock(&osdc->request_mutex);
req = __lookup_request(osdc, tid);
if (!req) {
- pr_warn("%s osd%d tid %llu unknown, skipping\n",
- __func__, osd->o_osd, tid);
+ dout("%s osd%d tid %llu unknown, skipping\n", __func__,
+ osd->o_osd, tid);
m = NULL;
*skip = 1;
goto out;
OpenPOWER on IntegriCloud