mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yu Kuai <yukuai1@huaweicloud.com>
To: Yu Kuai <yukuai1@huaweicloud.com>,
	linan666@huaweicloud.com, song@kernel.org
Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org,
	yangerkun@huawei.com, zhangxiaoxu5@huawei.com,
	wanghai38@huawei.co, "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: [PATCH] md: ensure resync is prioritized over recovery
Date: Fri, 14 Feb 2025 09:40:35 +0800	[thread overview]
Message-ID: <e33da443-051a-d656-69b5-4b21407a344f@huaweicloud.com> (raw)
In-Reply-To: <0c3dc2bb-c879-b58c-c7a3-b71618e7718d@huaweicloud.com>

在 2025/02/14 9:11, Yu Kuai 写道:
> 
> 在 2025/02/13 21:15, linan666@huaweicloud.com 写道:
>> From: Li Nan <linan122@huawei.com>
>>
>> If a new disk is added during resync, the resync process is interrupted,
>> and recovery is triggered, causing the previous resync to be lost. In
>> reality, disk addition should not terminate resync, fix it.
>>
>> Steps to reproduce the issue:
>>    mdadm -CR /dev/md0 -l1 -n3 -x1 /dev/sd[abcd]
>>    mdadm --fail /dev/md0 /dev/sdc
>>
>> Signed-off-by: Li Nan <linan122@huawei.com>
>> ---
>>   drivers/md/md.c | 14 +++++++-------
>>   1 file changed, 7 insertions(+), 7 deletions(-)
>> [...]
> 
> Applied to md-6.14, thanks!

I'm trying to find a fixtag, looks like following patch that is 20 years
ago. Or earlier :(

24dd469d728d ("[PATCH] md: allow a manual resync with md")

I'll move this patch to md-6.15 with this fixtag, thanks!

Kuai

> 
> Kuai
> 
> .
> 


      reply	other threads:[~2025-02-14  1:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-13 13:15 linan666
2025-02-14  1:11 ` Yu Kuai
2025-02-14  1:40   ` 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=e33da443-051a-d656-69b5-4b21407a344f@huaweicloud.com \
    --to=yukuai1@huaweicloud.com \
    --cc=linan666@huaweicloud.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=song@kernel.org \
    --cc=wanghai38@huawei.co \
    --cc=yangerkun@huawei.com \
    --cc=yukuai3@huawei.com \
    --cc=zhangxiaoxu5@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®