]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
md: add check_new_feature module parameter
authorLi Nan <linan122@huawei.com>
Mon, 3 Nov 2025 12:57:56 +0000 (20:57 +0800)
committerYu Kuai <yukuai@fnnas.com>
Tue, 11 Nov 2025 03:19:54 +0000 (11:19 +0800)
commit9c47127a807da3e36ce80f7c83a1134a291fc021
treeca6fb02d6f3fe13596f422bb20f112fd7177219f
parent2107457e31fa138b4baa0bccf309d6fdcf9f47dd
md: add check_new_feature module parameter

Raid checks if pad3 is zero when loading superblock from disk. Arrays
created with new features may fail to assemble on old kernels as pad3
is used.

Add module parameter check_new_feature to bypass this check.

Link: https://lore.kernel.org/linux-raid/20251103125757.1405796-5-linan666@huaweicloud.com
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
drivers/md/md.c