HomeFreeBSD

ZTS: Fix zfs_mount.kshlib cleanup

Description

ZTS: Fix zfs_mount.kshlib cleanup

Update cleanup_filesystem to use destroy_dataset when performing
cleanup. This ensures the destroy is retried if the pool is busy
preventing occasional failures.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <guss80@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10358

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 24 2020, 12:13 AM
GitHub <noreply@github.com>Committed on May 24 2020, 12:13 AM
Parents
rGfb822260b199: Gang ABD Type
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGc946d5a91329: ZTS: Fix zfs_mount.kshlib cleanup (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 24 2020, 12:13 AM