mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 03:30:34 +03:00
ZTS: fix zpool_status_008_pos test on qemu vm's
The test needs some adjusting within the timings. Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Co-authored-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #16537
This commit is contained in:
parent
a10e552b99
commit
4999f49513
@ -69,12 +69,12 @@ for raid_type in "draid2:3d:6c:1s" "raidz2"; do
|
||||
log_mustnot eval "zpool status -e $TESTPOOL2 | grep ONLINE"
|
||||
|
||||
# Check no ONLINE slow vdevs are show. Then mark IOs greater than
|
||||
# 10ms slow, delay IOs 20ms to vdev6, check slow IOs.
|
||||
# 160ms slow, delay IOs 320ms to vdev6, check slow IOs.
|
||||
log_must check_vdev_state $TESTPOOL2 $TESTDIR/vdev6 "ONLINE"
|
||||
log_mustnot eval "zpool status -es $TESTPOOL2 | grep ONLINE"
|
||||
|
||||
log_must set_tunable64 ZIO_SLOW_IO_MS 10
|
||||
log_must zinject -d $TESTDIR/vdev6 -D20:100 $TESTPOOL2
|
||||
log_must set_tunable64 ZIO_SLOW_IO_MS 160
|
||||
log_must zinject -d $TESTDIR/vdev6 -D320:100 $TESTPOOL2
|
||||
log_must mkfile 1048576 /$TESTPOOL2/testfile
|
||||
sync_pool $TESTPOOL2
|
||||
log_must set_tunable64 ZIO_SLOW_IO_MS $OLD_SLOW_IO
|
||||
|
Loading…
Reference in New Issue
Block a user