f2fs: try to use common fault injection framework
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | f2fs: extract f2fs root debugfs to init_f2fs_fsfs/ fs/ fs/ | +24 | 0 replies | |
| 2/5 | f2fs: use common fault injection frmeworkfs/ fs/ fs/ +2 more | +98 | 0 replies | |
| 3/5 | f2fs: replace function time_to_inject by f2fs_should_failfs/ fs/ fs/ +7 more | +20 | 0 replies | |
| 4/5 | f2fs: get rid of stale fault injection codefs/ fs/ fs/ +1 more | +3 | 6 replies | |
| 5/5 | f2fs: update doc for f2fs fault injectionDocumentation/ | +90 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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
Signature · 1 line
2.31.1