summaryrefslogtreecommitdiff
path: root/fs/f2fs/Kconfig
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-04-29 15:34:32 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-07 10:32:22 -0700
commit73faec4d99358b79815866dd660ae2f9f6f9110a (patch)
tree3127aca2024ac6e03fe8d2f99f27bf36a2996bd9 /fs/f2fs/Kconfig
parent300e129c15f0ed2f94482900a4cb65b28eb09d94 (diff)
f2fs: add mount option to select fault injection ratio
This patch adds a mount option to select fault ratio. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/Kconfig')
-rw-r--r--fs/f2fs/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig
index 1f8982a957f1..378c221d68a9 100644
--- a/fs/f2fs/Kconfig
+++ b/fs/f2fs/Kconfig
@@ -94,3 +94,11 @@ config F2FS_IO_TRACE
information and block IO patterns in the filesystem level.
If unsure, say N.
+
+config F2FS_FAULT_INJECTION
+ bool "F2FS fault injection facility"
+ depends on F2FS_FS
+ help
+ Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on.
+
+ If unsure, say N.