mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
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
This commit is contained in:
parent
3e4ed4213d
commit
a10c645616
@ -125,12 +125,12 @@ log_must $trimcmd $zvolpath
|
||||
|
||||
|
||||
set_blk_mq 1
|
||||
log_must zpool export $TESTPOOL
|
||||
log_must_busy zpool export $TESTPOOL
|
||||
log_must zpool import $TESTPOOL
|
||||
do_test
|
||||
|
||||
set_blk_mq 0
|
||||
log_must zpool export $TESTPOOL
|
||||
log_must_busy zpool export $TESTPOOL
|
||||
log_must zpool import $TESTPOOL
|
||||
do_test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user