Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd8140c6 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;