diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c556896abe57..7d7a31d0ddeb 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -683,10 +683,21 @@ config FAIL_PAGE_ALLOC | |||
683 | 683 | ||
684 | config FAIL_MAKE_REQUEST | 684 | config FAIL_MAKE_REQUEST |
685 | bool "Fault-injection capability for disk IO" | 685 | bool "Fault-injection capability for disk IO" |
686 | depends on FAULT_INJECTION | 686 | depends on FAULT_INJECTION && BLOCK |
687 | help | 687 | help |
688 | Provide fault-injection capability for disk IO. | 688 | Provide fault-injection capability for disk IO. |
689 | 689 | ||
690 | config 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 | |||
690 | config FAULT_INJECTION_DEBUG_FS | 701 | config FAULT_INJECTION_DEBUG_FS |
691 | bool "Debugfs entries for fault-injection capabilities" | 702 | bool "Debugfs entries for fault-injection capabilities" |
692 | depends on FAULT_INJECTION && SYSFS && DEBUG_FS | 703 | depends on FAULT_INJECTION && SYSFS && DEBUG_FS |