Re: [PATCH 1/3] md: Remove deprecated CONFIG_MD_LINEAR
From: Geert Uytterhoeven
Date: Fri Jan 12 2024 - 04:29:33 EST
Hi Song,
On Thu, Dec 14, 2023 at 11:22 PM Song Liu <song@xxxxxxxxxx> wrote:
> md-linear has been marked as deprecated for 2.5 years. Remove it.
>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Cc: Jens Axboe <axboe@xxxxxxxxx>
> Cc: Neil Brown <neilb@xxxxxxx>
> Cc: Guoqing Jiang <guoqing.jiang@xxxxxxxxx>
> Cc: Mateusz Grzonka <mateusz.grzonka@xxxxxxxxx>
> Cc: Jes Sorensen <jes@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Song Liu <song@xxxxxxxxxx>
Thanks for your patch, which is now commit 849d18e27be9a125 ("md:
Remove deprecated CONFIG_MD_LINEAR") upstream.
> --- a/drivers/md/Kconfig
> +++ b/drivers/md/Kconfig
> @@ -61,19 +61,6 @@ config MD_BITMAP_FILE
> various kernel APIs and can only work with files on a file system not
> actually sitting on the MD device.
>
> -config MD_LINEAR
> - tristate "Linear (append) mode (deprecated)"
> - depends on BLK_DEV_MD
> - help
> - If you say Y here, then your multiple devices driver will be able to
> - use the so-called linear mode, i.e. it will combine the hard disk
> - partitions by simply appending one to the other.
> -
> - To compile this as a module, choose M here: the module
> - will be called linear.
> -
> - If unsure, say Y.
> -
Is this what you need to recover data from disks salvaged from a
commercial NAS configured in JBOD mode?
If yes, and there is no better way to do that, you probably do not
want to drop this support. Actual NAS systems running Linux might
use this as well.
> config MD_RAID0
> tristate "RAID-0 (striping) mode"
> depends on BLK_DEV_MD
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds