From: Akinobu Mita <akinobu.mita@gmail.com>
To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
akpm@linux-foundation.org, axboe@kernel.dk
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Subject: [PATCH 0/2] block: null_blk: make fault-injection configurable via configfs
Date: Mon, 27 Mar 2023 23:37:31 +0900 [thread overview]
Message-ID: <20230327143733.14599-1-akinobu.mita@gmail.com> (raw)
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
next reply other threads:[~2023-03-27 14:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-27 14:37 Akinobu Mita [this message]
2023-03-27 14:37 ` [PATCH 1/2] fault-inject: allow configuration via configfs Akinobu Mita
2023-04-15 14:53 ` Geert Uytterhoeven
2023-04-15 16:50 ` Akinobu Mita
2023-03-27 14:37 ` [PATCH 2/2] block: null_blk: make fault-injection dynamically configurable per device Akinobu Mita
2023-03-27 22:13 ` [PATCH 0/2] block: null_blk: make fault-injection configurable via configfs Christoph Hellwig
2023-03-27 22:18 ` Chaitanya Kulkarni
2023-03-29 16:21 ` [PATCH blktests] don't require modular null_blk for fault-injection Akinobu Mita
2023-04-12 3:05 ` Shin'ichiro Kawasaki
2023-04-15 10:29 ` Akinobu Mita
2023-04-13 13:39 ` [PATCH 0/2] block: null_blk: make fault-injection configurable via configfs Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230327143733.14599-1-akinobu.mita@gmail.com \
--to=akinobu.mita@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox