HomeFreeBSD

raidz_test: Restore rand_data protection

Description

raidz_test: Restore rand_data protection

It feels dirty to modify protection of a memory allocated via libc,
but at least we should try to restore it before freeing.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #17977

Details

Provenance
mavAuthored on Nov 25 2025, 10:07 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 1 2025, 10:34 PM
Parents
rG338d432b42a6: raidz_test: Fix ZIO ABDs initialization
Branches
Unknown
Tags
Unknown

Event Timeline