Skip to contentSkip to conversation

ceph: downgrade warning from mdsmap decode to debug

DISCUSSION Applied Jeff Layton 2 participants 2 messages Feb 24, 2021 Stable branch

lore
Share & tools
lore

Jeff Layton

author Reviewed-by
#0 lore raw

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 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]>
maintainer Applied
#1 lore raw
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 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)

Quoted 8 lines

This patch downgrades these warnings to debug, as they may flood the logs if the cluster is unstable for a while.

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