summaryrefslogtreecommitdiff
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2025-04-25 12:50:55 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2025-05-06 18:46:55 +0300
commit0244c77fedc68eda261b4fec24b0476455e3b654 (patch)
treecc6cd0d41b7676774532a4b7d649035ecc0904b3 /Documentation/filesystems
parentcf7cd17c97ad3808d9bd3840166b9216ccc777e1 (diff)
downloadlinux-0244c77fedc68eda261b4fec24b0476455e3b654.tar.xz
f2fs: support FAULT_TIMEOUT
Support to inject a timeout fault into function, currently it only support to inject timeout to commit_atomic_write flow to reproduce inconsistent bug, like the bug fixed by commit f098aeba04c9 ("f2fs: fix to avoid atomicity corruption of atomic file"). By default, the new type fault will inject 1000ms timeout, and the timeout process can be interrupted by SIGKILL. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/f2fs.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst
index e15c4275862a..157743ab107d 100644
--- a/Documentation/filesystems/f2fs.rst
+++ b/Documentation/filesystems/f2fs.rst
@@ -207,6 +207,7 @@ fault_type=%d Support configuring fault injection type, should be
FAULT_BLKADDR_CONSISTENCE 0x000080000
FAULT_NO_SEGMENT 0x000100000
FAULT_INCONSISTENT_FOOTER 0x000200000
+ FAULT_TIMEOUT 0x000400000 (1000ms)
=========================== ===========
mode=%s Control block allocation mode which supports "adaptive"
and "lfs". In "lfs" mode, there should be no random