diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-29 02:43:01 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-29 02:43:01 -0400 |
commit | 3b218e3a21ccec183472015f1d7168400b187a58 (patch) | |
tree | 8b063d71fab8a6bb6bfea4bcc5abf704be19bf46 /fs | |
parent | 2ed2d5b33cb564025b1eb90650d70a0a3592c0e3 (diff) |
f2fs: introduce CONFIG_F2FS_CHECK_FS for BUG_ON control
This config will support an option to remove so many BUG_ONs that degrade
the performance potentially.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs')
-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 e06e0995e00f..214fe1054fce 100644 --- a/fs/f2fs/Kconfig +++ b/fs/f2fs/Kconfig | |||
@@ -63,3 +63,11 @@ config F2FS_FS_SECURITY | |||
63 | the extended attribute support in advance. | 63 | the extended attribute support in advance. |
64 | 64 | ||
65 | If you are not using a security module, say N. | 65 | If you are not using a security module, say N. |
66 | |||
67 | config F2FS_CHECK_FS | ||
68 | bool "F2FS consistency checking feature" | ||
69 | depends on F2FS_FS | ||
70 | help | ||
71 | Enables BUG_ONs which check the file system consistency in runtime. | ||
72 | |||
73 | If you want to improve the performance, say N. | ||