In this test we stop and restart an array that is being recovered,
and we do that several times. Sometimes it completes the recovery
before we expect and test results are wrong.
So slow it down a bit more.
Signed-off-by: NeilBrown <neilb@suse.de>
eval $tst
### Now with a missing device
+# We don't want the recovery to complete while we are
+# messing about here.
+echo 1000 > /proc/sys/dev/raid/speed_limit_max
mdadm -AR $md1 $dev0 $dev2 $dev3 $dev4 #
check state U_U
mdadm -I -c $conf $dev1
mdadm -I -c $conf $dev2
eval $tst
+echo 2000 > /proc/sys/dev/raid/speed_limit_max