diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-09-11 21:22:29 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-09-12 16:07:32 -0400 |
commit | 6f5c2ed0a26fae6904a88622c126dfb9369548a3 (patch) | |
tree | 40c3e2ae7e087365d7648e840d820e1090837d56 /Documentation/filesystems | |
parent | 7c1a000d466235c875a989971cfda344e6bb1166 (diff) |
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.txt | 3 |
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 | |||
172 | FAULT_DIR_DEPTH 0x000000100 | 172 | FAULT_DIR_DEPTH 0x000000100 |
173 | FAULT_EVICT_INODE 0x000000200 | 173 | FAULT_EVICT_INODE 0x000000200 |
174 | FAULT_TRUNCATE 0x000000400 | 174 | FAULT_TRUNCATE 0x000000400 |
175 | FAULT_IO 0x000000800 | 175 | FAULT_READ_IO 0x000000800 |
176 | FAULT_CHECKPOINT 0x000001000 | 176 | FAULT_CHECKPOINT 0x000001000 |
177 | FAULT_DISCARD 0x000002000 | 177 | FAULT_DISCARD 0x000002000 |
178 | FAULT_WRITE_IO 0x000004000 | ||
178 | mode=%s Control block allocation mode which supports "adaptive" | 179 | mode=%s Control block allocation mode which supports "adaptive" |
179 | and "lfs". In "lfs" mode, there should be no random | 180 | and "lfs". In "lfs" mode, there should be no random |
180 | writes towards main area. | 181 | writes towards main area. |