[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220401071909.505086-1-yuyufen@huawei.com>
Date: Fri, 1 Apr 2022 15:19:04 +0800
From: Yufen Yu <yuyufen@...wei.com>
To: <jaegeuk@...nel.org>, <chao@...nel.org>
CC: <linux-kernel@...r.kernel.org>,
<linux-f2fs-devel@...ts.sourceforge.net>, <yuyufen@...wei.com>
Subject: [PATCH 0/5] f2fs: try to use common fault injection framework
Hi,
Kernel fault injection framework have provided a a systematic
way to support error injection via debugfs in the /sys/kernel/debug
directory.
Compared to the current fault injection by mount options and sysfs,
fault injection framework can provide more easy used fault injection
control means.
Thus, this patchset try to use common fault injection for f2fs.
Yufen Yu (5):
f2fs: extract f2fs root debugfs to init_f2fs_fs
f2fs: use common fault injection frmework
f2fs: replace function time_to_inject by f2fs_should_fail
f2fs: get rid of stale fault injection code
f2fs: update doc for f2fs fault injection
Documentation/filesystems/f2fs.rst | 118 ++++++++++++++++++++++-------
fs/f2fs/Kconfig | 2 +-
fs/f2fs/Makefile | 1 +
fs/f2fs/checkpoint.c | 4 +-
fs/f2fs/data.c | 4 +-
fs/f2fs/debug.c | 19 +----
fs/f2fs/dir.c | 2 +-
fs/f2fs/f2fs.h | 81 ++++++++------------
fs/f2fs/fault_inject.c | 67 ++++++++++++++++
fs/f2fs/file.c | 2 +-
fs/f2fs/gc.c | 2 +-
fs/f2fs/inode.c | 2 +-
fs/f2fs/node.c | 2 +-
fs/f2fs/segment.c | 4 +-
fs/f2fs/super.c | 82 ++++++--------------
fs/f2fs/sysfs.c | 23 ------
16 files changed, 227 insertions(+), 188 deletions(-)
create mode 100644 fs/f2fs/fault_inject.c
--
2.31.1
Powered by blists - more mailing lists