]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - tests/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh
New upstream version 0.7.9
[mirror_zfs-debian.git] / tests / zfs-tests / tests / functional / mmp / mmp_write_uberblocks.ksh
index 71b5c391b83466d32180a8070d94b3bbdb1a263c..e287f41983d7a5ee733fa3ecd372406a86ba76d1 100755 (executable)
@@ -49,7 +49,7 @@ default_mirror_setup_noexit $DISKS
 log_must zpool set multihost=on $TESTPOOL
 log_must zinject -d ${DISK[0]} -e io -T write -f 50 $TESTPOOL -L uber
 clear_mmp_history
-uber_count=$(count_uberblocks $TESTPOOL 3)
+uber_count=$(count_mmp_writes $TESTPOOL 3)
 
 if [ $uber_count -eq 0 ]; then
        log_fail "mmp writes did not occur when uberblock IO errors injected"