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
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[ATA RAID]
[Linux SCSI Target Infrastructure]
[Managing RAID on Linux]
[Linux IDE]
[Linux SCSI]
[Linux Hams]
[Device-Mapper]
[Kernel]
[Linux Books]
[Linux Admin]
[Linux Net]
[GFS]
[RPM]
[git]
[Photos]
[Yosemite Photos]
[Yosemite News]
[AMD 64]
[Linux Networking]