From: NeilBrown <neilb@suse.de>
To: Jes.Sorensen@redhat.com
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH] 07reshape5intr: Set speed_limit_min to be able to reduce resync speed below 1000
Date: Thu, 12 Jul 2012 16:40:04 +1000 [thread overview]
Message-ID: <20120712164004.573c65c6@notabene.brown> (raw)
In-Reply-To: <1341993186-8207-1-git-send-email-Jes.Sorensen@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
On Wed, 11 Jul 2012 09:53:06 +0200 Jes.Sorensen@redhat.com wrote:
> From: Jes Sorensen <Jes.Sorensen@redhat.com>
>
> 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@redhat.com>
> ---
> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
prev parent reply other threads:[~2012-07-12 6:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 7:53 [PATCH] 07reshape5intr: Set speed_limit_min to be able to reduce resync speed below 1000 Jes.Sorensen
2012-07-12 6:40 ` NeilBrown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120712164004.573c65c6@notabene.brown \
--to=neilb@suse.de \
--cc=Jes.Sorensen@redhat.com \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).