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 15:41:15 -0700 |
| commit | 2ba5c8103d0cf748fdf03c9e5be975ccc36fb56a (patch) | |
| tree | 154734f4ed5670d4c2242270ddf80729d0cfa37f /libcutils/socket_local_server_unix.cpp | |
| parent | 72ca48e5cbbf557778a417b2109ef560c70d3b8e (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
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
