From: Greg Kroah-Hartman Date: Wed, 24 Feb 2021 18:11:32 +0000 (+0100) Subject: 5.10-stable patches X-Git-Tag: v5.11.2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae03608ee9931a07272cddf62f60311d9df3f6f2;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: ceph-downgrade-warning-from-mdsmap-decode-to-debug.patch --- diff --git a/queue-5.10/ceph-downgrade-warning-from-mdsmap-decode-to-debug.patch b/queue-5.10/ceph-downgrade-warning-from-mdsmap-decode-to-debug.patch new file mode 100644 index 00000000000..cdc207e9703 --- /dev/null +++ b/queue-5.10/ceph-downgrade-warning-from-mdsmap-decode-to-debug.patch @@ -0,0 +1,40 @@ +From ccd1acdf1c49b835504b235461fd24e2ed826764 Mon Sep 17 00:00:00 2001 +From: Luis Henriques +Date: Thu, 12 Nov 2020 11:25:32 +0000 +Subject: ceph: downgrade warning from mdsmap decode to debug + +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; + } + diff --git a/queue-5.10/series b/queue-5.10/series index d4469c09567..3ace385f2b2 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -4,3 +4,4 @@ rdma-lift-ibdev_to_node-from-rds-to-common-code.patch nvme-rdma-use-ibdev_to_node-instead-of-dereferencing-dma_device.patch usb-quirks-sort-quirk-entries.patch usb-quirks-add-quirk-to-start-video-capture-on-elmo-l-12f-document-camera-reliable.patch +ceph-downgrade-warning-from-mdsmap-decode-to-debug.patch