Skip to content

Commit 6c0f589

Browse files
neilbrownliu-song-6
authored andcommitted
md: select BLOCK_LEGACY_AUTOLOAD
When BLOCK_LEGACY_AUTOLOAD is not enable, mdadm is not able to activate new arrays unless "CREATE names=yes" appears in mdadm.conf As this is a regression we need to always enable BLOCK_LEGACY_AUTOLOAD for when MD is selected - at least until mdadm is updated and the updates widely available. Cc: [email protected] # v5.18+ Fixes: fbdee71 ("block: deprecate autoloading based on dev_t") Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Song Liu <[email protected]>
1 parent 3bc5729 commit 6c0f589

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/md/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ if MD
1616
config BLK_DEV_MD
1717
tristate "RAID support"
1818
select BLOCK_HOLDER_DEPRECATED if SYSFS
19+
# BLOCK_LEGACY_AUTOLOAD requirement should be removed
20+
# after relevant mdadm enhancements - to make "names=yes"
21+
# the default - are widely available.
22+
select BLOCK_LEGACY_AUTOLOAD
1923
help
2024
This driver lets you combine several hard disk partitions into one
2125
logical block device. This can be used to simply append one

0 commit comments

Comments
 (0)