mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "yu kuai" <yukuai@fygo.io>
To: <nenkov2004@gmail.com>, <linux-raid@vger.kernel.org>,
	<song@kernel.org>,  "yu kuai" <yukuai@fygo.io>
Cc: <dm-devel@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
	 <magiclinan@didiglobal.com>, <xiao@kernel.org>,
	<neil@brown.name>,  <agk@redhat.com>, <snitzer@kernel.org>,
	<mpatocka@redhat.com>,  <bmarzins@redhat.com>,
	 <syzbot+8b22a0459202f76b4096@syzkaller.appspotmail.com>
Subject: Re: [PATCH v2 2/2] md/raid10: Preserve recovery flags on reshape abort
Date: Sun, 29 Nov 2026 15:36:49 +0800	[thread overview]
Message-ID: <d490c53f-01f2-44e3-af60-066b076a9028@fygo.io> (raw)
In-Reply-To: <20261120111757.4705-3-nenkov2004@gmail.com>

在 2026/11/20 19:17, nenkov2004@gmail.com 写道:

> raid10_start_reshape() can fail before it updates the recovery flags.
> Its abort path clears the entire recovery word, including the
> MD_RECOVERY_FROZEN bit that dm-raid requires until raid_resume().
>
> Keep the recovery word intact when rolling back reshape setup. The
> preceding dm-raid change clears MD_RECOVERY_WAIT on failure in the
> caller that set it.
>
> Fixes: bb63a7019df9 ("md/raid10: resize bitmap when required during reshape.")
> Reported-by:syzbot+8b22a0459202f76b4096@syzkaller.appspotmail.com
> Closes:https://syzkaller.appspot.com/bug?extid=8b22a0459202f76b4096
> Signed-off-by: Hristos Nenkov<nenkov2004@gmail.com>
> ---
>   drivers/md/raid10.c | 1 -
>   1 file changed, 1 deletion(-)

Applied patch 2.

-- 
Thanks,
Kuai

      reply	other threads:[~2026-11-29  7:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 11:23 [syzbot] [dm?] WARNING in raid_resume syzbot
2026-11-10  5:44 ` [PATCH] md/raid10: preserve recovery flags on reshape abort Hristos Nenkov
2026-11-20  7:05   ` yu kuai
2026-11-20 11:17     ` [PATCH v2 0/2] Fix recovery flags on failed RAID10 reshape nenkov2004
2026-11-20 11:17       ` [PATCH v2 1/2] dm raid: Clear MD_RECOVERY_WAIT on reshape setup failure nenkov2004
2026-11-29  7:15         ` yu kuai
2026-11-29 15:37           ` [PATCH v3] " nenkov2004
2026-11-30 12:44             ` Mikulas Patocka
2026-11-20 11:17       ` [PATCH v2 2/2] md/raid10: Preserve recovery flags on reshape abort nenkov2004
2026-11-29  7:36         ` 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=d490c53f-01f2-44e3-af60-066b076a9028@fygo.io \
    --to=yukuai@fygo.io \
    --cc=agk@redhat.com \
    --cc=bmarzins@redhat.com \
    --cc=dm-devel@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=magiclinan@didiglobal.com \
    --cc=mpatocka@redhat.com \
    --cc=neil@brown.name \
    --cc=nenkov2004@gmail.com \
    --cc=snitzer@kernel.org \
    --cc=song@kernel.org \
    --cc=syzbot+8b22a0459202f76b4096@syzkaller.appspotmail.com \
    --cc=xiao@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

all inboxes | Powered by JetHome®