diff options
| author | Chao Yu <chao@kernel.org> | 2026-01-04 10:07:29 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-01-07 03:17:08 +0000 |
| commit | d36de29f4bb59b24e57ff22403baae6fc7e89bd8 (patch) | |
| tree | ecf160928cb95cc3710efcce15a16fef8d7e0f9e /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | c56254e2e04216839699937a04aac18c585e833e (diff) | |
f2fs: sysfs: introduce inject_lock_timeout
This patch adds a new sysfs node in /sys/fs/f2fs/<disk>/inject_lock_timeout,
it relies on CONFIG_F2FS_FAULT_INJECTION kernel config.
It can be used to simulate different type of timeout in lock duration.
========== ===============================
Flag_Value Flag_Description
========== ===============================
0x00000000 No timeout (default)
0x00000001 Simulate running time
0x00000002 Simulate IO type sleep time
0x00000003 Simulate Non-IO type sleep time
0x00000004 Simulate runnable time
========== ===============================
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
