提交 cd8140c6 编写于 作者: I 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: NIlya Dryomov <idryomov@gmail.com>
Reviewed-by: NAlex Elder <elder@linaro.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册