From 5bdadb5a48620e8e081b994dc458b09d679c8532 Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Thu, 17 Feb 2022 09:29:22 +0000 Subject: [PATCH] osd/scrub: stop sending bogus digest-update event messages A minimal change extracted from PR#44050, to facilitate backporting. The multitudes of bogus events generated fill up the logs. Signed-off-by: Ronen Friedman (cherry picked from commit e1b5347b81d17c8a5a1f6e1d4d76d18977ec2b0c) Conflicts: the logic changes were already part of Quincy. Left is a removal of an unneeded log message. --- src/osd/scrubber/PrimaryLogScrub.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/scrubber/PrimaryLogScrub.cc b/src/osd/scrubber/PrimaryLogScrub.cc index b3d2f098ce6a5..a502ee4e71675 100644 --- a/src/osd/scrubber/PrimaryLogScrub.cc +++ b/src/osd/scrubber/PrimaryLogScrub.cc @@ -548,7 +548,6 @@ void PrimaryLogScrub::scrub_snapshot_metadata(ScrubMap& scrubmap, ++num_digest_updates_pending; ctx->register_on_success([this]() { - dout(20) << "updating scrub digest " << num_digest_updates_pending << dendl; if ((num_digest_updates_pending >= 1) && (--num_digest_updates_pending == 0)) { m_osds->queue_scrub_digest_update(m_pl_pg, m_pl_pg->is_scrub_blocking_ops()); } -- 2.39.5