HomeFreeBSD

Added noexit variant for Raidz setup in ZTS tests

Description

Added noexit variant for Raidz setup in ZTS tests

The regular default_raidz_setup function in the ZFS test suite called
log_pass after creating the zpool. However, with compression now being
on by default 56fa4aa, there is no way to turn compression off in the
setup.ksh scripts when creating a raidz VDEV. The addition of the
function default_raidz_setup_noexit allows for a raidz VDEV to be
created, additional zfs property settings to be applied and for the
setup.ksh script itself to call log_pass.

With the addition of default_raidz_setup_noexit some stray log_pass
calls were removed from any setup.ksh scripts that call
default_raidz_setup.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes #13173

Details

Provenance
Brian Atkinson <batkinson@lanl.gov>Authored on Mar 4 2022, 1:18 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 8 2022, 5:20 PM
Parents
rG6df43169b309: Fix ENOSPC when unlinking multiple files from full pool
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG1b609d4b0359: Added noexit variant for Raidz setup in ZTS tests (authored by Brian Atkinson <batkinson@lanl.gov>).Mar 8 2022, 5:20 PM