linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@kernel.org>
To: Song Liu <song@kernel.org>
Cc: RIc Wheeler <ricwheeler@gmail.com>,
	Yu Kuai <yukuai1@huaweicloud.com>,
	yukuai3@huawei.com, thetanix@gmail.com, colyli@suse.de,
	linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org,
	yi.zhang@huawei.com, yangerkun@huawei.com,
	dm-devel@lists.linux.dev, axboe@kernel.dk,
	linux-block@vger.kernel.org
Subject: Re: [PATCH RFC md-6.14] md: reintroduce md-linear
Date: Wed, 8 Jan 2025 11:13:53 -0500	[thread overview]
Message-ID: <Z36kQW-sNdketOGL@kernel.org> (raw)
In-Reply-To: <CAPhsuW5F94zauhvMd79VX0=JsFAY6S-0FJTK6Aqsr++UaDfy_g@mail.gmail.com>

On Tue, Jan 07, 2025 at 03:09:00PM -0800, Song Liu wrote:
> On Tue, Jan 7, 2025 at 12:34 PM RIc Wheeler <ricwheeler@gmail.com> wrote:
> >
> >
> > On 1/7/25 12:24 PM, Mike Snitzer wrote:
> > > On Thu, Jan 02, 2025 at 07:28:41PM +0800, Yu Kuai wrote:
> > >> From: Yu Kuai <yukuai3@huawei.com>
> > >>
> > >> THe md-linear is removed by commit 849d18e27be9 ("md: Remove deprecated
> > >> CONFIG_MD_LINEAR") because it has been marked as deprecated for a long
> > >> time.
> > >>
> > >> However, md-linear is used widely for underlying disks with different size,
> > >> sadly we didn't know this until now, and it's true useful to create
> > >> partitions and assemble multiple raid and then append one to the other.
> > >>
> > >> People have to use dm-linear in this case now, however, they will prefer
> > >> to minimize the number of involved modules.
> > >>
> > >> Signed-off-by: Yu Kuai <yukuai3@huawei.com>
> > > I agree with reinstating md-linear.  If/when we do remove md-linear
> > > (again) we first need a seamless upgrade/conversion option (e.g. mdadm
> > > updated to use dm-linear in the backend instead of md-linear).
> >
> >
> > Agree with the need for an upgrade/conversion path.
> >
> > >
> > > This patch's header should probably also have this Fixes tag (unclear
> > > if linux-stable would pick it up but it really is a regression given
> > > there was no upgrade path offered to md-linear users):
> > >
> > > Fixes: 849d18e27be9 md: Remove deprecated CONFIG_MD_LINEAR
> > >
> > > Acked-by: Mike Snitzer <snitzer@kernel.org>
> 
> Thanks all for feedback on this move. I agree that reinstating
> md-linear is the right move for now.
> 
> Yu Kuai,
> 
> It appears to me that the path doesn't apply cleanly on the md-6.14
> branch:
> 
> Applying: md: reintroduce md-linear
> error: patch failed: drivers/md/Makefile:29
> error: drivers/md/Makefile: patch does not apply
> Patch failed at 0001 md: reintroduce md-linear
> hint: Use 'git am --show-current-patch=diff' to see the failed patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
> 
> Please rebase and resend the patch.
> 
> Thanks,
> Song

Um, sorry but waiting for a resubmission of a revert due to Makefile
difference is a needless stall.  You'd do well to fixup the Makefile,
compile test and also review for any intervening MD (or other kernel)
API changes since the code was removed from the tree.

Mike

  reply	other threads:[~2025-01-08 16:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-02 11:28 [PATCH RFC md-6.14] md: reintroduce md-linear Yu Kuai
2025-01-02 15:28 ` Coly Li
2025-01-07 20:32   ` RIc Wheeler
2025-01-07 17:24 ` Mike Snitzer
2025-01-07 20:34   ` RIc Wheeler
2025-01-07 23:09     ` Song Liu
2025-01-08 16:13       ` Mike Snitzer [this message]
2025-01-08 21:42         ` Song Liu

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=Z36kQW-sNdketOGL@kernel.org \
    --to=snitzer@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=colyli@suse.de \
    --cc=dm-devel@lists.linux.dev \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=ricwheeler@gmail.com \
    --cc=song@kernel.org \
    --cc=thetanix@gmail.com \
    --cc=yangerkun@huawei.com \
    --cc=yi.zhang@huawei.com \
    --cc=yukuai1@huaweicloud.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).