From: Yu Kuai <yukuai1@huaweicloud.com>
To: Song Liu <song@kernel.org>, Yu Kuai <yukuai1@huaweicloud.com>
Cc: xni@redhat.com, paul.e.luse@linux.intel.com, shli@fb.com,
neilb@suse.com, linux-raid@vger.kernel.org,
linux-kernel@vger.kernel.org, yi.zhang@huawei.com,
yangerkun@huawei.com, "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: [PATCH md-6.9 v3 00/11] md/raid1: refactor read_balance() and some minor fix
Date: Thu, 29 Feb 2024 09:14:38 +0800 [thread overview]
Message-ID: <4da77457-6eb7-1977-4686-28e4a7aab8e2@huaweicloud.com> (raw)
In-Reply-To: <CAPhsuW5cJZdvia0HSDcn7v+62E04AP5P=UaqUW4LKDMqm33PAQ@mail.gmail.com>
Hi,
在 2024/02/29 5:23, Song Liu 写道:
> On Wed, Feb 28, 2024 at 3:49 AM Yu Kuai <yukuai1@huaweicloud.com> wrote:
>>
>> From: Yu Kuai <yukuai3@huawei.com>
>>
>> Changes in v3:
>> - add patch 2, and fix that setup_conf() is missing in patch3;
>> - add some review tag from Xiao Ni(other than patch 2,3);
>
> It appears that v3 causes mdadm test "01replace" to run forever.
> I haven't figured out why, but v2 doesn't seem to have this issue.
I'm running tests while sending this version, and I found that too this
morning. :(
I'll check out what's wrong and update soon.
Thanks,
Kuai
>
> Thanks,
> Song
>
>> Changes in v2:
>> - add new conter in conf for patch 2;
>> - fix the case choose next idle while there is no other idle disk in
>> patch 3;
>> - add some review tag from Xiao Ni for patch 1, 4-8
>>
>> The original idea is that Paul want to optimize raid1 read
>> performance([1]), however, we think that the original code for
>> read_balance() is quite complex, and we don't want to add more
>> complexity. Hence we decide to refactor read_balance() first, to make
>> code cleaner and easier for follow up.
>
> .
>
prev parent reply other threads:[~2024-02-29 1:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-28 11:43 Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 01/11] md: add a new helper rdev_has_badblock() Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 02/11] md/raid1: factor out helpers to add rdev to conf Yu Kuai
2024-02-29 2:11 ` Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 03/11] md/raid1: record nonrot rdevs while adding/removing rdevs " Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 04/11] md/raid1: fix choose next idle in read_balance() Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 05/11] md/raid1-10: add a helper raid1_check_read_range() Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 06/11] md/raid1-10: factor out a new helper raid1_should_read_first() Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 07/11] md/raid1: factor out read_first_rdev() from read_balance() Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 08/11] md/raid1: factor out choose_slow_rdev() " Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 09/11] md/raid1: factor out choose_bb_rdev() " Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 10/11] md/raid1: factor out the code to manage sequential IO Yu Kuai
2024-02-28 11:43 ` [PATCH md-6.9 v3 11/11] md/raid1: factor out helpers to choose the best rdev from read_balance() Yu Kuai
2024-02-28 12:35 ` [PATCH md-6.9 v3 00/11] md/raid1: refactor read_balance() and some minor fix Xiao Ni
2024-02-28 21:23 ` Song Liu
2024-02-29 1:14 ` Yu Kuai [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=4da77457-6eb7-1977-4686-28e4a7aab8e2@huaweicloud.com \
--to=yukuai1@huaweicloud.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.com \
--cc=paul.e.luse@linux.intel.com \
--cc=shli@fb.com \
--cc=song@kernel.org \
--cc=xni@redhat.com \
--cc=yangerkun@huawei.com \
--cc=yi.zhang@huawei.com \
--cc=yukuai3@huawei.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®