From: Mikulas Patocka <mpatocka@redhat.com>
To: Guangliang Zhao <gzhao@suse.com>
Cc: linux-kernel@vger.kernel.org, dm-devel@redhat.com,
lucienchao@gmail.com, "Alasdair G. Kergon" <agk@redhat.com>
Subject: Re: [dm-devel] [PATCH 0/3 v3] add resync speed control for dm-raid1
Date: Wed, 9 Jan 2013 00:43:21 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.64.1301090034200.29917@file.rdu.redhat.com> (raw)
In-Reply-To: <1357552933-26126-1-git-send-email-gzhao@suse.com>
Hi
I did this already some times ago.
I'm sending my patches in the next mail.
Basically, my and Guangliang's patches have the following differences:
my patch: uses per-module throttle settings
Guangliang's patch: uses per-device settings
(my patch could be changed to use per-device throttle too, but without
userspace support it isn't much useful because userspace lvm can
reload the mirror and per-device settings would be lost)
my patch: uses fine grained throttling of the individual IOs in kcopyd -
it measures active/inactive ratio and if the disk is active more than the
specified percentage of time, sleep is inserted.
Guangliang's patch: throttles on segment granularity, it waits when
starting new segment, but segment is copied unthrottled.
my patch: the user selects a percentage value (0 - 100) in
"/sys/module/dm_mirror/parameters/raid1_resync_throttle", the device is
kept active the specified percent of time
Guangliang's patch: limits the number of segments per a specified
interval
My patch is noticeably bigger.
Mikulas
On Mon, 7 Jan 2013, Guangliang Zhao wrote:
> Hi,
>
> These patches are used to add resync speed control for dm-raid1. The
> second and third patch provide support for user-space tool dmsetup.
> I have made some modifications by the comments. This is the third
> version.
>
> Guangliang Zhao (3):
> dm raid1: add resync speed control for dm-raid1
> dm raid1: add interface to set resync speed
> dm raid1: add interface to get resync speed
>
> drivers/md/dm-raid1.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 89 insertions(+), 1 deletion(-)
>
> --
> 1.7.10.4
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
next prev parent reply other threads:[~2013-01-09 5:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 10:02 Guangliang Zhao
2013-01-07 10:02 ` [PATCH 1/3 v3] dm raid1: " Guangliang Zhao
2013-01-07 10:02 ` [PATCH 2/3 v3] dm raid1: add interface to set resync speed Guangliang Zhao
2013-01-07 10:02 ` [PATCH 3/3 v3] dm raid1: add interface to get " Guangliang Zhao
2013-01-09 5:43 ` Mikulas Patocka [this message]
2013-01-16 8:21 ` [dm-devel] [PATCH 0/3 v3] add resync speed control for dm-raid1 Guangliang Zhao
2013-01-23 1:44 ` Mikulas Patocka
2013-01-23 4:20 ` NeilBrown
2013-02-06 0:24 ` Mikulas Patocka
2013-01-09 5:44 ` [PATCH 1/2] mirror throttling Mikulas Patocka
2013-01-09 5:44 ` [PATCH 2/2] " Mikulas Patocka
2013-02-15 0:53 ` Alasdair G Kergon
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=Pine.LNX.4.64.1301090034200.29917@file.rdu.redhat.com \
--to=mpatocka@redhat.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=gzhao@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lucienchao@gmail.com \
/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
all inboxes | Powered by JetHome®