diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-04-30 00:34:32 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-07 19:32:22 +0200 |
commit | 73faec4d99358b79815866dd660ae2f9f6f9110a (patch) | |
tree | 3127aca2024ac6e03fe8d2f99f27bf36a2996bd9 /fs/f2fs/Kconfig | |
parent | f2fs: use f2fs_grab_cache_page instead of grab_cache_page (diff) | |
download | linux-73faec4d99358b79815866dd660ae2f9f6f9110a.tar.xz linux-73faec4d99358b79815866dd660ae2f9f6f9110a.zip |
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/Kconfig | 8 |
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. |