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-19 10:21:02 -0700 |
| commit | 4d26b266e9b8fdcc319dc9fa0881f20731a94776 (patch) | |
| tree | 4c40bb40ddd70243f72e1e727c8efee92e297aa2 /base/errors_unix.cpp | |
| parent | 0af7ee4a1fa77eb806b14141db09729300914784 (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
(cherry picked from commit 40db04d640f42afb544ebc4a4789bd38ddabedfb)
Change-Id: If312d91e09aca0648dd926e26a3d1e5f7ddedb46
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
