Merge pull request #38959 from badone/wip-valgrind-tracker-48918

osd: initialise m_interval_start

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
Neha Ojha 2021-01-19 15:24:29 -08:00 committed by GitHub
commit 0c3433de72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -525,7 +525,7 @@ class PgScrubber : public ScrubPgIF, public ScrubMachineListener {
OSDService* const m_osds;
const pg_shard_t m_pg_whoami; ///< a local copy of m_pg->pg_whoami;
epoch_t m_interval_start; ///< interval's 'from' of when scrubbing was first scheduled
epoch_t m_interval_start{0}; ///< interval's 'from' of when scrubbing was first scheduled
/*
* the exact epoch when the scrubbing actually started (started here - cleared checks
* for no-scrub conf). Incoming events are verified against this, with stale events