-
- Downloads
md: reintroduce md-linear
THe md-linear is removed by commit 849d18e2 ("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. Fixes: 849d18e2 ("md: Remove deprecated CONFIG_MD_LINEAR") Cc: stable@vger.kernel.org Signed-off-by:Yu Kuai <yukuai3@huawei.com> Acked-by:
Coly Li <colyli@kernel.org> Acked-by:
Mike Snitzer <snitzer@kernel.org> Link: https://lore.kernel.org/r/20250102112841.1227111-1-yukuai1@huaweicloud.com Signed-off-by:
Song Liu <song@kernel.org>
Showing
- drivers/md/Kconfig 13 additions, 0 deletionsdrivers/md/Kconfig
- drivers/md/Makefile 2 additions, 0 deletionsdrivers/md/Makefile
- drivers/md/md-autodetect.c 6 additions, 2 deletionsdrivers/md/md-autodetect.c
- drivers/md/md-linear.c 354 additions, 0 deletionsdrivers/md/md-linear.c
- drivers/md/md.c 1 addition, 1 deletiondrivers/md/md.c
- include/uapi/linux/raid/md_p.h 1 addition, 1 deletioninclude/uapi/linux/raid/md_p.h
- include/uapi/linux/raid/md_u.h 2 additions, 0 deletionsinclude/uapi/linux/raid/md_u.h
Loading
Please register or sign in to comment