Re: [PATCH RFC md-6.14] md: reintroduce md-linear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 2025年1月2日 19:28,Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> 写道:
> 
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx> 

Acked-by: Coly Li <colyli@xxxxxxxxxx>

I am fully supportive to bring md-linear back. There are still many people/company/products using md-linear, just like the discussion in another thread.

Thanks for doing this.

Coly Li


> ---
> drivers/md/Kconfig             |  13 ++
> drivers/md/Makefile            |   2 +
> drivers/md/md-autodetect.c     |   8 +-
> drivers/md/md-linear.c         | 354 +++++++++++++++++++++++++++++++++
> drivers/md/md.c                |   2 +-
> include/uapi/linux/raid/md_p.h |   2 +-
> include/uapi/linux/raid/md_u.h |   2 +
> 7 files changed, 379 insertions(+), 4 deletions(-)
> create mode 100644 drivers/md/md-linear.c
> 

[snipped]

> 2.39.2
> 






[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux