]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ZTS: refreserv_005_pos.ksh
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 May 2020 20:50:02 +0000 (13:50 -0700)
committerGitHub <noreply@github.com>
Fri, 8 May 2020 20:50:02 +0000 (13:50 -0700)
commitd775c86dd4ced233ac0636607706cc5a08bcb923
tree2aea0615e410f5e77245ac1addfdb55c1cae3757
parent1cc635a2dd0379181950a1458255ea8ae8b9c1e0
ZTS: refreserv_005_pos.ksh

When recursively destroying the dataset it's possible for the
dataset volume to be open by an unrelated process, like blkid.
Use the destroy_dataset() which will retry when this occurs.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10305
tests/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh