ZTS: zvol_misc_trim retry busy export
commita10c64561648f9cb9f90959c57625d3ffdaea156
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 20 Apr 2023 17:25:16 +0000 (20 10:25 -0700)
committerGitHub <noreply@github.com>
Thu, 20 Apr 2023 17:25:16 +0000 (20 10:25 -0700)
tree1d01248bbcf20df7f2052237ac308979746b4162
parent3e4ed4213d7b4e8892e9def8b06363391d8dbd60
ZTS: zvol_misc_trim retry busy export

Retry the export if the pool is busy due to an open zvol.
Observed in the CI on Fedora 37.

  cannot export 'testpool': pool is busy
  ERROR: zpool export testpool exited 1

Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #14769
tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh