diff options
author | NeilBrown <neilb@suse.de> | 2015-07-16 01:27:58 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-07-16 02:50:40 +0200 |
commit | 0832fb09d91515ced206f5459f0015492b4cc10c (patch) | |
tree | a9754d05d42d649fc0b58dc4f7c13d98a5699b25 /test | |
parent | tests: add 19raid6check (diff) | |
download | mdadm-0832fb09d91515ced206f5459f0015492b4cc10c.tar.xz mdadm-0832fb09d91515ced206f5459f0015492b4cc10c.zip |
tests: slow down --stop a bit to allow revert-inplace to work.
revert-inplace would sometimes find that the original reshape had
finished.
So slow down the reshaping during --stop (which needs to be a little
bit fast so that stop doesn't timeout waiting) and don't wait quite
so long before stopping.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ mdadm() { case $* in *-S* ) udevadm settle p=`cat /proc/sys/dev/raid/speed_limit_max` - echo 2000000 > /proc/sys/dev/raid/speed_limit_max + echo 20000 > /proc/sys/dev/raid/speed_limit_max esac case $* in *-C* ) $mdadm 2> $targetdir/stderr --quiet "$@" --auto=yes;; |