mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
block: remove CONFIG_DEBUG_BLOCK_EXT_DEVT
This might have been a neat debug aid when the extended dev_t was added, but that time is long gone. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210824075216.1179406-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
539711d7d6
commit
c4b2b7d150
@@ -1679,33 +1679,6 @@ config DEBUG_WQ_FORCE_RR_CPU
|
||||
feature by default. When enabled, memory and cache locality will
|
||||
be impacted.
|
||||
|
||||
config DEBUG_BLOCK_EXT_DEVT
|
||||
bool "Force extended block device numbers and spread them"
|
||||
depends on DEBUG_KERNEL
|
||||
depends on BLOCK
|
||||
default n
|
||||
help
|
||||
BIG FAT WARNING: ENABLING THIS OPTION MIGHT BREAK BOOTING ON
|
||||
SOME DISTRIBUTIONS. DO NOT ENABLE THIS UNLESS YOU KNOW WHAT
|
||||
YOU ARE DOING. Distros, please enable this and fix whatever
|
||||
is broken.
|
||||
|
||||
Conventionally, block device numbers are allocated from
|
||||
predetermined contiguous area. However, extended block area
|
||||
may introduce non-contiguous block device numbers. This
|
||||
option forces most block device numbers to be allocated from
|
||||
the extended space and spreads them to discover kernel or
|
||||
userland code paths which assume predetermined contiguous
|
||||
device number allocation.
|
||||
|
||||
Note that turning on this debug option shuffles all the
|
||||
device numbers for all IDE and SCSI devices including libata
|
||||
ones, so root partition specified using device number
|
||||
directly (via rdev or root=MAJ:MIN) won't work anymore.
|
||||
Textual device names (root=/dev/sdXn) will continue to work.
|
||||
|
||||
Say N if you are unsure.
|
||||
|
||||
config CPU_HOTPLUG_STATE_CONTROL
|
||||
bool "Enable CPU hotplug state control"
|
||||
depends on DEBUG_KERNEL
|
||||
|
||||
Reference in New Issue
Block a user