From: Mike Snitzer <snitzer@kernel.org>
To: Yu Kuai <yukuai1@huaweicloud.com>
Cc: song@kernel.org, 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: Tue, 7 Jan 2025 12:24:17 -0500 [thread overview]
Message-ID: <Z31jQT4Fwba4HJKW@kernel.org> (raw)
In-Reply-To: <20250102112841.1227111-1-yukuai1@huaweicloud.com>
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).
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>
next prev parent reply other threads:[~2025-01-07 17:24 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 [this message]
2025-01-07 20:34 ` RIc Wheeler
2025-01-07 23:09 ` Song Liu
2025-01-08 16:13 ` Mike Snitzer
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=Z31jQT4Fwba4HJKW@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=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.