mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
osd: Fix Valgrind UninitCondition error in ECTransaction::Generate::Generate()
first_interval_in_write can be accessed before it has been initialized. This is harmless as at worst it will just cause the 1st I/O to a FastEC PG to be slightly slower than necessary by disabling some optimizations. However it needs fixing so the teuthology Valgrind job can check for other issues. Fixes: https://tracker.ceph.com/issues/76953 Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
This commit is contained in:
parent
0dfc834523
commit
9958e1399a
@ -729,7 +729,7 @@ struct ECCommon {
|
||||
// Set by on_change, forces first write in each interval to be
|
||||
// a full write to avoid PWLC spanning intervals. Fixes
|
||||
// https://tracker.ceph.com/issues/73891
|
||||
bool first_write_in_interval;
|
||||
bool first_write_in_interval = false;
|
||||
|
||||
RMWPipeline(CephContext *cct,
|
||||
ceph::ErasureCodeInterfaceRef ec_impl,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user