platform_system_core/fs_mgr
Yusuke Sato 0df08271fb Use fsck.f2fs -a instead of -f for faster boot
and run fsck with -f on clean shutdown instead.

With -f, fsck.f2fs always performs a full scan of the /data
partition regardless of whether the partition is clean or not.
The full scan takes more than 2 seconds on volantis-userdebug
and delays the OS boot.

With -a, the command does almost nothing when the partition
is clean and finishes within 20-30ms on volantis-userdebug.
When the partition has an error or its check point has
CP_FSCK_FLAG (aka "need_fsck"), the command does exactly the
same full scan as -f to fix it.

Bug: 21853106
Change-Id: I126263caf34c0f5bb8f5e6794454d4e72526ce38
2015-07-15 10:13:51 -07:00
..
include Merge "Set verity mode as the verified property value" 2015-04-07 08:45:24 +00:00
Android.mk Revert "Revert "fs_mgr_verity: Add support for squashfs"" 2015-04-08 18:08:00 -07:00
fs_mgr.c Use fsck.f2fs -a instead of -f for faster boot 2015-07-15 10:13:51 -07:00
fs_mgr_fstab.c Revert "Revert "Adding e4crypt support"" 2015-03-31 13:02:13 -07:00
fs_mgr_main.c Cleanup: warning fixit. 2014-04-11 16:15:46 -07:00
fs_mgr_priv.h Revert "Revert "Adding e4crypt support"" 2015-03-31 13:02:13 -07:00
fs_mgr_priv_verity.h Revert "Revert "Enable verity on userdebug, and add disable-verity to adb"" 2014-12-09 17:02:17 -08:00
fs_mgr_verity.c fs_mgr: Use ro.boot.veritymode 2015-06-10 17:40:29 +01:00