linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yu Kuai <yukuai1@huaweicloud.com>
To: Song Liu <song@kernel.org>, Yu Kuai <yukuai1@huaweicloud.com>
Cc: xni@redhat.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 -next v4 0/7] md: make rdev addition and removal independent from daemon thread
Date: Fri, 25 Aug 2023 14:44:31 +0800	[thread overview]
Message-ID: <2832ee84-4365-d35d-1ae4-fa260a1beb9f@huaweicloud.com> (raw)
In-Reply-To: <CAPhsuW4rQ1V7EHgfpfx9rL2=pUAcjr+Eint2iD0_EfVAbzcKOQ@mail.gmail.com>

Hi,

在 2023/08/25 14:39, Song Liu 写道:
> On Thu, Aug 24, 2023 at 8:20 PM Yu Kuai <yukuai1@huaweicloud.com> wrote:
>>
>> From: Yu Kuai <yukuai3@huawei.com>
>>
>> Changes in v4:
>>   - add some review tag;
>>   - add comments to make code more readadble for patch 4,6;
>>   - rework patch 7 a litter;
> 
> Applied v4 to md-next. But this set won't go into 6.6.
> 
Thanks! I'll work on rebasing the next huge patchset.

Kuai

> Thanks,
> Song
> 
>>
>> Changes in v3:
>>   - rename md_choose_sync_direction() to md_choose_sync_action() in patch 2;
>>   - fix an error in patch 3;
>>   - add flush_work(&mddev->sync_work) while change read-only array to
>>   read-write;
>>
>> Changes in v2:
>>   - remove patch 1 from v1 and some related patches, those patches will
>>   be sent later when rcu protection for rdev is removed.
>>   - add patch 2.
>>
>> This is the third patchset to do some preparatory work to synchronize
>> io with array reconfiguration.
>>
>> 1) The first patchset refactor 'active_io', make sure that mddev_suspend()
>> will wait for io to be done. [1]
>>
>> 2) The second patchset remove 'quiesce' callback from mddev_suspend(), so
>> that mddev_suspend() doesn't rely on 'quiesce' callback is registered,
>> and can be used for all personalites; [2]
>>
>> 3) This patchset make array reconfiguration independent from daemon thread,
>> and synchronize it with io will be much easier because io may rely on
>> daemon thread to be done.
>>
>> More patchset on the way!
>>
>> Yu Kuai (7):
>>    md: use separate work_struct for md_start_sync()
>>    md: factor out a helper to choose sync action from md_check_recovery()
>>    md: delay choosing sync action to md_start_sync()
>>    md: factor out a helper rdev_removeable() from remove_and_add_spares()
>>    md: factor out a helper rdev_is_spare() from remove_and_add_spares()
>>    md: factor out a helper rdev_addable() from remove_and_add_spares()
>>    md: delay remove_and_add_spares() for read only array to
>>      md_start_sync()
>>
>>   drivers/md/md.c | 308 +++++++++++++++++++++++++++++++++---------------
>>   drivers/md/md.h |   5 +-
>>   2 files changed, 218 insertions(+), 95 deletions(-)
>>
>> --
>> 2.39.2
>>
> .
> 


      reply	other threads:[~2023-08-25  6:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25  3:16 [PATCH -next v4 0/7] md: make rdev addition and removal independent from daemon thread Yu Kuai
2023-08-25  3:16 ` [PATCH -next v4 1/7] md: use separate work_struct for md_start_sync() Yu Kuai
2023-08-25  3:16 ` [PATCH -next v4 2/7] md: factor out a helper to choose sync action from md_check_recovery() Yu Kuai
2023-08-25  3:16 ` [PATCH -next v4 3/7] md: delay choosing sync action to md_start_sync() Yu Kuai
2023-08-25  3:16 ` [PATCH -next v4 4/7] md: factor out a helper rdev_removeable() from remove_and_add_spares() Yu Kuai
2023-08-25  3:16 ` [PATCH -next v4 5/7] md: factor out a helper rdev_is_spare() " Yu Kuai
2023-08-25  3:16 ` [PATCH -next v4 6/7] md: factor out a helper rdev_addable() " Yu Kuai
2023-08-25  3:16 ` [PATCH -next v4 7/7] md: delay remove_and_add_spares() for read only array to md_start_sync() Yu Kuai
2023-08-25  6:39 ` [PATCH -next v4 0/7] md: make rdev addition and removal independent from daemon thread Song Liu
2023-08-25  6:44   ` 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=2832ee84-4365-d35d-1ae4-fa260a1beb9f@huaweicloud.com \
    --to=yukuai1@huaweicloud.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).