HomeFreeBSD

ztest: Fix scrub check in ztest_raidz_expand_check()

Description

ztest: Fix scrub check in ztest_raidz_expand_check()

The scrub code may return EBUSY under several possible scenarios
causing ztest to incorrectly ASSERT when verifying the result of
a raidz expansion. Update the test case to allow EBUSY since it
does not indicate pool damage.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #16627

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Oct 9 2024, 3:41 AM
GitHub <noreply@github.com>Committed on Oct 9 2024, 3:41 AM
Parents
rGcefef28e9895: vdev_id: multi-lun disks & slot num zero pad
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG4319e714022a: ztest: Fix scrub check in ztest_raidz_expand_check() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Oct 9 2024, 3:41 AM