]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/trim/trim_integrity.ksh
Add trim support to zpool wait
[mirror_zfs.git] / tests / zfs-tests / tests / functional / trim / trim_integrity.ksh
index ba0e691b3c679823a4f7feb57112f82c983a87be..e25b52747c69dac82dfd33fa42481755d8ca645b 100755 (executable)
@@ -76,8 +76,7 @@ for type in "" "mirror" "raidz" "raidz2" "raidz3"; do
        done
        log_must du -hs /$TESTPOOL
 
-       log_must zpool trim $TESTPOOL
-       wait_trim $TESTPOOL $TRIM_VDEVS
+       log_must timeout 120 zpool trim -w $TESTPOOL
 
        verify_trim_io $TESTPOOL "ind" 10
        verify_pool $TESTPOOL