Commit 3b218e3a authored by Jaegeuk Kim's avatar Jaegeuk Kim

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: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 2ed2d5b3
...@@ -63,3 +63,11 @@ config F2FS_FS_SECURITY ...@@ -63,3 +63,11 @@ config F2FS_FS_SECURITY
the extended attribute support in advance. the extended attribute support in advance.
If you are not using a security module, say N. 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.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment