Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp277810pxb; Thu, 25 Feb 2021 02:10:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5e0PVY8n++G1NiDm0v7EN9PRaK8zEgXus/uK9cEyJ3M5E8ES40r5eP0IjGkFfcxLICMW+ X-Received: by 2002:a05:6402:268f:: with SMTP id w15mr2040134edd.333.1614247821556; Thu, 25 Feb 2021 02:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614247821; cv=none; d=google.com; s=arc-20160816; b=zclRu1saa6PN5u3/8nL/hTt1S89EasYnSbcOCaL/c05jiqJ4aU02pSzy4YUTcovdqH hg+yAFyKct93zqM5jJolqRXk4aAC17qgYA9oI2JuvYLm7Vgpil8dnm5pYk48Z3ke6y3Z 3feNUfBMX0+sOBDjvLhIjSSHrkEAd6lhoK5VMfbt9DkoSs/y5P5ueOZk5VboIXEQdlTM D3MAuvwxY+NP7ZPblLrEM+ZJKGzEwg7w+V/62ShKTez3DxT6SLFDHVYrOeISghmDRGt6 YHz03nwPq6mTLozLtRm22p4zL7AESjJWAWs8iMiwWrO3E4eA5qbkxXzjhBfzMM764r4Y KbKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BzFZ4L7dMJj5IREE1Wp1LIeMMGwVglWBZW6hbLTcqK8=; b=oGE3kymNE6qsQ4oZWeB/+DMousUyEHd4Cqdqjc8YYm30iqEUm70uQOaxOVQqXWNAwU twETuGNKGluuEHN3WJNWTxVQAgdrQnLoLBFmV1oryVAZQIwaXu2jVdDzxre9Ii4157UW XcnsvnsrmxxRXFIqGLeZkfiLmrS6dhe+Cx3KD4Cm3NetOxFqH4lISzgPguLeTQyAjuJm 5fFeNLpQfIP6hTd9RA+3ZlO+HLJXZd2+9gbFFApkms+SamD3wfv+P5zj47vg9iutKWoI 88dWMLHMm6YBY464WwiCqKPvTO8+Wnz1vaHnquHzP4hymGlxPGiw/MRB8IZy02kEz+y2 FIsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Ct/OoncV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j26si3088344edq.184.2021.02.25.02.09.58; Thu, 25 Feb 2021 02:10:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Ct/OoncV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233007AbhBYKJW (ORCPT + 99 others); Thu, 25 Feb 2021 05:09:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:34824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235515AbhBYJ6a (ORCPT ); Thu, 25 Feb 2021 04:58:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 78DB364F17; Thu, 25 Feb 2021 09:54:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614246897; bh=U0yKkXXoyeOfOxGD+VHPoEYk+aqobOW6r/YYfpZGwVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ct/OoncVyvE4r7r7aGnJ7/FnI2eyM0edQfPgU/tBMMRQW3Yl9QAIhTeENOIXDKStr CYeBc2yF8mcq/T21a9FbvE5z12KgGG5R5Kgh9eVbYuBJtKI+e88JZrUTiw+9AsV3CW /GU95nz7ZxUHqutiHm45kXTqsckom0InT5ASdpNU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Luis Henriques , Jeff Layton , Ilya Dryomov Subject: [PATCH 5.10 07/23] ceph: downgrade warning from mdsmap decode to debug Date: Thu, 25 Feb 2021 10:53:38 +0100 Message-Id: <20210225092516.889427128@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210225092516.531932232@linuxfoundation.org> References: <20210225092516.531932232@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Luis Henriques commit ccd1acdf1c49b835504b235461fd24e2ed826764 upstream. While the MDS cluster is unstable and changing state the client may get mdsmap updates that will trigger warnings: [144692.478400] ceph: mdsmap_decode got incorrect state(up:standby-replay) [144697.489552] ceph: mdsmap_decode got incorrect state(up:standby-replay) [144697.489580] ceph: mdsmap_decode got incorrect state(up:standby-replay) This patch downgrades these warnings to debug, as they may flood the logs if the cluster is unstable for a while. Signed-off-by: Luis Henriques Reviewed-by: Jeff Layton Signed-off-by: Ilya Dryomov Signed-off-by: Greg Kroah-Hartman --- fs/ceph/mdsmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/fs/ceph/mdsmap.c +++ b/fs/ceph/mdsmap.c @@ -243,8 +243,8 @@ struct ceph_mdsmap *ceph_mdsmap_decode(v } if (state <= 0) { - pr_warn("mdsmap_decode got incorrect state(%s)\n", - ceph_mds_state_name(state)); + dout("mdsmap_decode got incorrect state(%s)\n", + ceph_mds_state_name(state)); continue; }