Enable block layer error injection

modulename: error-injection.ko

configname: CONFIG_BLK_ERROR_INJECTION

Linux Kernel Configuration
└─>Enable the block layer
└─>Enable block layer error injection
In linux kernel since version 5.10.259 (release Date: 2026-06-19)
Enable inserting arbitrary block errors through a debugfs interface.

See Documentation/block/error-injection.rst for details.
source code: