linux/Documentation
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
..
2023-03-20 15:30:03 -06:00
2023-01-16 09:26:05 +01:00
2023-02-21 15:27:48 -08:00
2023-03-04 10:53:59 -08:00
2023-02-26 11:47:26 -08:00
2023-01-30 16:40:15 +01:00
2023-02-22 18:28:03 -08:00
2023-02-15 20:59:44 +01:00
2023-02-26 11:53:25 -08:00
2023-02-23 15:09:31 -08:00
2023-02-25 11:52:57 -08:00
2023-02-22 13:41:41 -08:00
2023-01-27 12:14:17 +00:00
2023-02-25 11:30:21 -08:00
2023-01-26 12:43:33 +09:00