HomeFreeBSD

Initialize parity blocks before RAID-Z reconstruction benchmarking

Description

Initialize parity blocks before RAID-Z reconstruction benchmarking

benchmark_raidz() allocates a row to benchmark parity calculation and
reconstruction. In the latter case, the parity blocks are left
uninitialized, leading to reports from KMSAN.

Initialize parity blocks to 0xAA as we do for the data earlier in the
function. This does not affect the selected RAID-Z implementation on
any of several systems tested.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #12473

Details

Provenance
markjAuthored on Aug 23 2021, 6:10 PM
Tony Hutter <hutter2@llnl.gov>Committed on Sep 14 2021, 9:32 PM
Parents
rG584b7a214e37: ZTS: Add tests for creation time
Branches
Unknown
Tags
Unknown