HomeFreeBSD

Fix ztest_vdev_add_remove() test case

Description

Fix ztest_vdev_add_remove() test case

Commit 2ffd89fc allowed two new errors to be reported by zil_reset()
in order to provide a descriptive error message regarding why a log
device could not be removed. However, the new return values were
not handled in the ztest_vdev_add_remove() test case resulting in
ztest failures during automated testing.

Reviewed-by: Tim Chase <tim@chase2k.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Paul Zuchowski <pzuchowski@datto.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7630

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 14 2018, 4:41 PM
GitHub <noreply@github.com>Committed on Jun 14 2018, 4:41 PM
Parents
rG1fac63e56f37: OpenZFS 9577 - remove zfs_dbuf_evict_key tsd
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGc91cf36fc23f: Fix ztest_vdev_add_remove() test case (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 14 2018, 4:41 PM