diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-29 15:43:01 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-29 15:43:01 +0900 |
commit | 3b218e3a21ccec183472015f1d7168400b187a58 (patch) | |
tree | 8b063d71fab8a6bb6bfea4bcc5abf704be19bf46 /fs/f2fs | |
parent | 2ed2d5b33cb564025b1eb90650d70a0a3592c0e3 (diff) | |
download | op-kernel-dev-3b218e3a21ccec183472015f1d7168400b187a58.zip op-kernel-dev-3b218e3a21ccec183472015f1d7168400b187a58.tar.gz |
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/f2fs')
-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 e06e099..214fe10 100644 --- a/fs/f2fs/Kconfig +++ b/fs/f2fs/Kconfig @@ -63,3 +63,11 @@ config F2FS_FS_SECURITY the extended attribute support in advance. If you are not using a security module, say N. + +config F2FS_CHECK_FS + bool "F2FS consistency checking feature" + depends on F2FS_FS + help + Enables BUG_ONs which check the file system consistency in runtime. + + If you want to improve the performance, say N. |