mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "yu kuai" <yukuai@fygo.io>
To: <shao.mingyin@zte.com.cn>, <song@kernel.org>,
	 <linux-raid@vger.kernel.org>, "yu kuai" <yukuai@fygo.io>
Cc: <magiclinan@didiglobal.com>, <xiao@kernel.org>,
	 <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] md/raid1: drop the redundant sysfs_unlink_rdev()
Date: Sat, 21 Nov 2026 11:58:46 +0800	[thread overview]
Message-ID: <8fd7fbd6-8948-4e6c-84a2-2dfc378f18cc@fygo.io> (raw)
In-Reply-To: <20261101200958563ZkI79UKy510arbmzZJPzd@zte.com.cn>

Hi,

在 2026/11/1 20:09, shao.mingyin@zte.com.cn 写道:
> raid1_reshape() unlinks the old "rd{d}" link, assigns the new
> raid_disk, then unlinks again.  The second call targets "rd{d2}", a slot
> that has no sysfs link yet, so it is a no-op; sysfs_link_rdev() below
> creates it.
>
> Signed-off-by: Shao Mingyin<shao.mingyin@zte.com.cn>
Applied, btw, patch format is a bit strange.

-- 
Thanks,
Kuai

      reply	other threads:[~2026-11-21  3:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-01 12:09 shao.mingyin
2026-11-21  3:58 ` 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=8fd7fbd6-8948-4e6c-84a2-2dfc378f18cc@fygo.io \
    --to=yukuai@fygo.io \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=magiclinan@didiglobal.com \
    --cc=shao.mingyin@zte.com.cn \
    --cc=song@kernel.org \
    --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®