ceph: downgrade warning from mdsmap decode to debug
authorLuis Henriques <lhenriques@suse.de>
Thu, 12 Nov 2020 11:25:32 +0000 (11:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2021 09:13:00 +0000 (10:13 +0100)
commit3e81e1db8b50b310de422fed239c409d87e4ab68
tree51ae03ac4329d3d6c996be741a3617bd96ab756d
parent92c8c930caa00e7cd775501052cf8d2f546e77d7
ceph: downgrade warning from mdsmap decode to debug

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 <lhenriques@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/mdsmap.c