summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-09-12 09:22:29 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-12 13:07:32 -0700
commit6f5c2ed0a26fae6904a88622c126dfb9369548a3 (patch)
tree40c3e2ae7e087365d7648e840d820e1090837d56 /Documentation/filesystems
parent7c1a000d466235c875a989971cfda344e6bb1166 (diff)
downloadlinux-6f5c2ed0a26fae6904a88622c126dfb9369548a3.tar.gz
linux-6f5c2ed0a26fae6904a88622c126dfb9369548a3.tar.bz2
linux-6f5c2ed0a26fae6904a88622c126dfb9369548a3.zip
f2fs: split IO error injection according to RW
This patch adds to support injecting error for write IO, this can simulate IO error like fail_make_request or dm_flakey does. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/f2fs.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index e5edd29687b5..bde3e91e5372 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -172,9 +172,10 @@ fault_type=%d Support configuring fault injection type, should be
FAULT_DIR_DEPTH 0x000000100
FAULT_EVICT_INODE 0x000000200
FAULT_TRUNCATE 0x000000400
- FAULT_IO 0x000000800
+ FAULT_READ_IO 0x000000800
FAULT_CHECKPOINT 0x000001000
FAULT_DISCARD 0x000002000
+ FAULT_WRITE_IO 0x000004000
mode=%s Control block allocation mode which supports "adaptive"
and "lfs". In "lfs" mode, there should be no random
writes towards main area.