aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug35
1 files changed, 34 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0b504814e378..7d7a31d0ddeb 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -624,6 +624,28 @@ config BACKTRACE_SELF_TEST
624 624
625 Say N if you are unsure. 625 Say N if you are unsure.
626 626
627config DEBUG_BLOCK_EXT_DEVT
628 bool "Force extended block device numbers and spread them"
629 depends on DEBUG_KERNEL
630 depends on BLOCK
631 default n
632 help
633 Conventionally, block device numbers are allocated from
634 predetermined contiguous area. However, extended block area
635 may introduce non-contiguous block device numbers. This
636 option forces most block device numbers to be allocated from
637 the extended space and spreads them to discover kernel or
638 userland code paths which assume predetermined contiguous
639 device number allocation.
640
641 Note that turning on this debug option shuffles all the
642 device numbers for all IDE and SCSI devices including libata
643 ones, so root partition specified using device number
644 directly (via rdev or root=MAJ:MIN) won't work anymore.
645 Textual device names (root=/dev/sdXn) will continue to work.
646
647 Say N if you are unsure.
648
627config LKDTM 649config LKDTM
628 tristate "Linux Kernel Dump Test Tool Module" 650 tristate "Linux Kernel Dump Test Tool Module"
629 depends on DEBUG_KERNEL 651 depends on DEBUG_KERNEL
@@ -661,10 +683,21 @@ config FAIL_PAGE_ALLOC
661 683
662config FAIL_MAKE_REQUEST 684config FAIL_MAKE_REQUEST
663 bool "Fault-injection capability for disk IO" 685 bool "Fault-injection capability for disk IO"
664 depends on FAULT_INJECTION 686 depends on FAULT_INJECTION && BLOCK
665 help 687 help
666 Provide fault-injection capability for disk IO. 688 Provide fault-injection capability for disk IO.
667 689
690config FAIL_IO_TIMEOUT
691 bool "Faul-injection capability for faking disk interrupts"
692 depends on FAULT_INJECTION && BLOCK
693 help
694 Provide fault-injection capability on end IO handling. This
695 will make the block layer "forget" an interrupt as configured,
696 thus exercising the error handling.
697
698 Only works with drivers that use the generic timeout handling,
699 for others it wont do anything.
700
668config FAULT_INJECTION_DEBUG_FS 701config FAULT_INJECTION_DEBUG_FS
669 bool "Debugfs entries for fault-injection capabilities" 702 bool "Debugfs entries for fault-injection capabilities"
670 depends on FAULT_INJECTION && SYSFS && DEBUG_FS 703 depends on FAULT_INJECTION && SYSFS && DEBUG_FS