mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
ZTS: add zed_fd_spill to verify the fds ZEDLETs inherit
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11891
This commit is contained in:
@@ -3577,16 +3577,11 @@ function wait_replacing #pool
|
||||
# Wait for a pool to be scrubbed
|
||||
#
|
||||
# $1 pool name
|
||||
# $2 number of seconds to wait (optional)
|
||||
#
|
||||
# Returns true when pool has been scrubbed, or false if there's a timeout or if
|
||||
# no scrub was done.
|
||||
#
|
||||
function wait_scrubbed
|
||||
{
|
||||
typeset pool=${1:-$TESTPOOL}
|
||||
while true ; do
|
||||
is_pool_scrubbed $pool && break
|
||||
while ! is_pool_scrubbed $pool ; do
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user