Re: What's the usage of md-autodetect.c
From: Wols Lists <hidden>
Date: 2023-03-08 08:14:46
On 08/03/2023 02:40, Xiao Ni wrote:
quoted
(IIRC) get built if CONFIG_MD is set to M. Changing the default for CONFIG_MD should not have any impact on this so long as the ability to set CONFIG_MD=y does not get disabled (which would also be a regression).I'm a little confused here. If I understand right, for the os that
doesn't use initrd and we still have the ability to set CONFIG_MD=y, so we can set it to y and rebuild the kernel. So the raid1 can be assembled by md auto-detect, right?
Bear in mind that - iirc - in order for the kernel to auto-assemble a raid-1 (a) it has to be superblock 0.9 (b) superblock 0.9 is deprecated So the functionality is still used, still "supported", but we make no promises ... If it breaks, I'm sure people will scream and fix it, but from our point of view it's "if it ain't broke don't touch it". Cheers, Wol