diff options
author | Keun-young Park <keunyoung@google.com> | 2017-04-13 17:31:08 -0700 |
---|---|---|
committer | Keun-young Park <keunyoung@google.com> | 2017-04-18 19:28:55 -0700 |
commit | 40db04d640f42afb544ebc4a4789bd38ddabedfb (patch) | |
tree | c94b9d7032eba6eb667da7819fff09a3007fef45 /init/import_parser.cpp | |
parent | 0ca7eec9b0bbb1c636eb0278ff695e93450fd7d8 (diff) |
run e2fsck -f selectively with mount retry
- Do not use -f if it was cleanly shutdown.
- For unclean shutdown or other operation failures like
mount, tune2fs failure, run full check.
- Still old image will run full check once in 5 reboots
while new image will not run full check unless something
fails.
- Add retry for final mount. If mount fails once, run full fsck
once and try again.
bug: 32246772
bug: 35366616
Test: many reboots
Change-Id: I86949732ffe1955636ac179d553c91e52910f73e
Diffstat (limited to 'init/import_parser.cpp')
0 files changed, 0 insertions, 0 deletions