From: Jaegeuk Kim Date: Tue, 29 Oct 2013 06:43:01 +0000 (+0900) Subject: f2fs: introduce CONFIG_F2FS_CHECK_FS for BUG_ON control X-Git-Tag: v3.13-rc1~113^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b218e3a21ccec183472015f1d7168400b187a58;p=thirdparty%2Flinux.git 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 --- diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig index e06e0995e00fd..214fe1054fcee 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.