]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: stop sending bogus digest-update event messages 45193/head
authorRonen Friedman <rfriedma@redhat.com>
Thu, 17 Feb 2022 09:29:22 +0000 (09:29 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 28 Feb 2022 10:42:15 +0000 (10:42 +0000)
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 <rfriedma@redhat.com>
(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

index b3d2f098ce6a562877001bc9d515a2c3be6f3bd9..a502ee4e7167565c09cd347436514eb9444715cb 100644 (file)
@@ -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());
       }