This patch set makes null_blk driver-specific fault-injection dynamically configurable per device via configfs. Since the null_blk driver supports configuration such as device creation via configfs, it is natural to configure fault-injection via configfs as well. Currently, only the debugfs interface is provided for dynamically configuring fault-injection, so this introduces a compatible interface via configfs. Akinobu Mita (2): fault-inject: allow configuration via configfs block: null_blk: make fault-injection dynamically configurable per device .../fault-injection/fault-injection.rst | 8 + drivers/block/null_blk/Kconfig | 2 +- drivers/block/null_blk/main.c | 93 +++++++-- drivers/block/null_blk/null_blk.h | 7 +- include/linux/fault-inject.h | 22 ++ lib/Kconfig.debug | 13 +- lib/fault-inject.c | 191 ++++++++++++++++++ 7 files changed, 312 insertions(+), 24 deletions(-) -- 2.34.1