diff options
author | Keun-young Park <keunyoung@google.com> | 2017-03-29 12:54:40 -0700 |
---|---|---|
committer | Keun-young Park <keunyoung@google.com> | 2017-04-10 17:48:19 -0700 |
commit | 0e90dee9e0998f8515df36f95c5197e16a69dd01 (patch) | |
tree | 93e349ae94e948df2cda3b8716247f0a5d52764f /libutils/ProcessCallStack.cpp | |
parent | b07c58758bd1b2ea67d89e75949c821548637d55 (diff) |
poll umount completion from /proc/mounts
- umount operation is asynchronous except for root partition.
Returning from umount does not guarantee completion of
umount. Poll /proc/mounts to confirm completion of umount.
- Treat all devices mounting to /data as emulated devices. This is
future proof when fs other than sdcardfs is used.
- Drop quota sync from sync step. There is no differences in
frequencies of quota error.
- Run umount in reverse order from mounting order so that any
hidden dependency can be auto-resolved.
- Add dump of lsof and /proc/mounts when umount fails. lsof only runs
when selinux is toggled into permissive mode. The dump is enabled
only for non-user build.
- Keep logcat until vold shutdown in case vold has any error to report.
bug: 36551218
Test: python packages/services/Car/tools/bootanalyze/bootanalyze.py -r -c packages/services/Car/tools/bootanalyze/config.yaml -n 1000 -f -e 20 -w 30
Change-Id: I87b17b966d7004c205452d81460b02c6acf50d45
(cherry picked from commit 2ba5c8103d0cf748fdf03c9e5be975ccc36fb56a)
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions