Re: [PATCH 0/2] block: null_blk: make fault-injection configurable via configfs

From: Christoph Hellwig
Date: Mon Mar 27 2023 - 18:13:29 EST


On Mon, Mar 27, 2023 at 11:37:31PM +0900, Akinobu Mita wrote:
> 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.

Oh, nice. Can you also update blktests to take advantage of this and
not require built-in null_blk for fault injection tests?