ceph: downgrade warning from mdsmap decode to debug
Jeff Layton
Reviewed-byHi, we'd like to request that you pull this commit into stable kernels. It's a trivial patch that just downgrades a (harmless) kernel warning message to debug level. The warning can be very chatty in some situations, and it'd be nice to silence it.
-----------------------------8<-------------------------------
commit ccd1acdf1c49b835504b235461fd24e2ed826764
Author: Luis Henriques <[email protected]> Date: Thu Nov 12 11:25:32 2020 +0000
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.
Thanks!
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 20 lines · Jeff Layton
Hi, we'd like to request that you pull this commit into stable kernels. It's a trivial patch that just downgrades a (harmless) kernel warning message to debug level. The warning can be very chatty in some situations, and it'd be nice to silence it.
-----------------------------8<-------------------------------
commit
ccd1acdf1c49b835504b235461fd24e2ed826764Author: Luis Henriques <[email protected]> Date: Thu Nov 12 11:25:32 2020 +0000ceph: 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_decodegot incorrect state(up:standby-replay) [144697.489552] ceph:mdsmap_decodegot incorrect state(up:standby-replay) [144697.489580] ceph:mdsmap_decodegot incorrect state(up:standby-replay)
Quoted 8 lines
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 <[email protected]>Reviewed-by Jeff Layton <[email protected]>Signed-off-by Ilya Dryomov <[email protected]>
Queued up to 5.10.y as that was the only place it would apply to. If you want it in other kernel tree(s), please let me know.
thanks,
greg k-h