ceph: downgrade warning from mdsmap decode to debug
authorLuis Henriques <lhenriques@suse.de>
Thu, 12 Nov 2020 11:25:32 +0000 (11:25 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:47 +0000 (23:21 +0100)
commitccd1acdf1c49b835504b235461fd24e2ed826764
treea7d62a7d975bd15cf14ad99347894e1acefce5d4
parente5cafce3ad0f8652d6849314d951459c2bff7233
ceph: downgrade warning from mdsmap decode to debug

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>
fs/ceph/mdsmap.c