linux/Documentation/fault-injection
Akinobu Mita bb4c19e030 block: null_blk: make fault-injection dynamically configurable per device
The null_blk driver has multiple driver-specific fault injection
mechanisms.  Each fault injection configuration can only be specified by a
module parameter and cannot be reconfigured without reloading the driver.
Also, each configuration is common to all devices and is initialized every
time a new device is added.

This change adds the following subdirectories for each null_blk device.

/sys/kernel/config/nullb/<disk>/timeout_inject
/sys/kernel/config/nullb/<disk>/requeue_inject
/sys/kernel/config/nullb/<disk>/init_hctx_fault_inject

Each fault injection attribute can be dynamically set per device by a
corresponding file in these directories.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Link: https://lore.kernel.org/r/20230327143733.14599-3-akinobu.mita@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-04-13 07:38:55 -06:00
..
fault-injection.rst block: null_blk: make fault-injection dynamically configurable per device 2023-04-13 07:38:55 -06:00
index.rst docs: add some directories to the main documentation index 2019-07-15 11:03:03 -03:00
notifier-error-inject.rst docs: notifier-error-inject: Correct test's name 2022-10-07 10:32:16 -06:00
nvme-fault-injection.rst nvme: rename and document nvme_end_request 2020-08-21 17:14:28 -06:00
provoke-crashes.rst lkdtm: remove IDE_CORE_CP crashpoint 2021-08-19 07:40:22 +02:00