On Wed, 11 Jul 2012 09:53:06 +0200 Jes.Sorensen@xxxxxxxxxx wrote: > From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> > > We need to set speed_limit_min accordingly, otherwise setting > speed_limit_max below 1000 will have no effect. > > Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> > --- > tests/07reshape5intr | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/tests/07reshape5intr b/tests/07reshape5intr > index 6a26bf0..71ef2c7 100644 > --- a/tests/07reshape5intr > +++ b/tests/07reshape5intr > @@ -20,6 +20,7 @@ do > > mdadm -CR $md0 -amd -l5 -c $chunk -n$disks --assume-clean $devs > mdadm $md0 --add $dev6 > + echo 20 > /proc/sys/dev/raid/speed_limit_min > echo 20 > /proc/sys/dev/raid/speed_limit_max > mdadm --grow $md0 -n $[disks+1] > check reshape > @@ -27,6 +28,7 @@ do > mdadm --stop $md0 > mdadm --assemble $md0 $devs $dev6 > check reshape > + echo 1000 > /proc/sys/dev/raid/speed_limit_min > echo 2000 > /proc/sys/dev/raid/speed_limit_max > check wait > echo check > /sys/block/md0/md/sync_action Applied, thanks. NeilBrown
Attachment:
signature.asc
Description: PGP signature