Commit cd8140c6 authored by Ilya Dryomov's avatar Ilya Dryomov

libceph: don't spam dmesg with stray reply warnings

Commit d15f9d69 ("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: default avatarIlya Dryomov <idryomov@gmail.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
parent dbc0d3ca
...@@ -2853,8 +2853,8 @@ static struct ceph_msg *get_reply(struct ceph_connection *con, ...@@ -2853,8 +2853,8 @@ static struct ceph_msg *get_reply(struct ceph_connection *con,
mutex_lock(&osdc->request_mutex); mutex_lock(&osdc->request_mutex);
req = __lookup_request(osdc, tid); req = __lookup_request(osdc, tid);
if (!req) { if (!req) {
pr_warn("%s osd%d tid %llu unknown, skipping\n", dout("%s osd%d tid %llu unknown, skipping\n", __func__,
__func__, osd->o_osd, tid); osd->o_osd, tid);
m = NULL; m = NULL;
*skip = 1; *skip = 1;
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment