Shorten arcstat_quiescence sleep time
With the latest L2ARC fixes, 2 seconds is too long to wait for quiescence of arcstats like l2_size. Shorten this interval to avoid having the persistent L2ARC tests in ZTS prematurely terminated. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: George Amanakis <gamanakis@gmail.com> Closes #14981
This commit is contained in:
parent
ccec7fbe1c
commit
10e36e1761
@ -3706,7 +3706,7 @@ function arcstat_quiescence # stat echo
|
||||
|
||||
while $do_once || [ $stat1 -ne $stat2 ] || [ $stat2 -eq 0 ]; do
|
||||
typeset stat1=$(get_arcstat $stat)
|
||||
sleep 2
|
||||
sleep 0.5
|
||||
typeset stat2=$(get_arcstat $stat)
|
||||
do_once=false
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user