]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib
Add support for user/group dnode accounting & quota
[mirror_zfs.git] / tests / zfs-tests / tests / functional / redundancy / redundancy.kshlib
index cb8271797bafd2ba2482523ddc11cda3505414d6..56e2bd19d87668f6d805e346604f0a89c83daabd 100644 (file)
@@ -213,32 +213,6 @@ function get_vdevs #pool cnt
        $ECHO "$vdevs"
 }
 
-#
-# Synchronize all the data in pool
-#
-# $1 pool name
-#
-function sync_pool #pool
-{
-       typeset pool=$1
-
-       log_must $SYNC
-       log_must $SLEEP 2
-       # Flush all the pool data.
-       typeset -i ret
-       $ZPOOL scrub $pool >/dev/null 2>&1
-       ret=$?
-       (( $ret != 0 )) && \
-               log_fail "$ZPOOL scrub $pool failed."
-
-       while ! is_pool_scrubbed $pool; do
-               if is_pool_resilvered $pool ; then
-                       log_fail "$pool should not be resilver completed."
-               fi
-               log_must $SLEEP 2
-       done
-}
-
 #
 # Create and replace the same name virtual device files
 #