osd: initialise m_interval_start#38959
Conversation
Fixes: https://tracker.ceph.com/issues/48918 Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
ronen-fr
left a comment
There was a problem hiding this comment.
As it is always initialized when scrub starts (on on_init() for a primary, and on the Op for the replica), I didn't think we should add the extra initialization. But no harm in doing that.
i disagree. it's to silence the warning from valgrind. without this change, we could read from an uninitialized memory when calling |
I stand corrected. Thanks. |
Fixes: https://tracker.ceph.com/issues/48918
Signed-off-by: Brad Hubbard bhubbard@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox