OSDN Git Service

Re-enable vold watchdog.
authorJeff Sharkey <jsharkey@android.com>
Wed, 6 Jun 2018 21:35:53 +0000 (15:35 -0600)
committerJeff Sharkey <jsharkey@android.com>
Wed, 6 Jun 2018 21:42:23 +0000 (15:42 -0600)
commitc3c728749e077eeb37c3e5c61a996f62d9cc3680
treecc4ece5de69bbb61f3fe4ba5d9d71bfd37518622
parent7bb9fcbc4586610a8b20e1c4d11987cc48850e8c
Re-enable vold watchdog.

Awhile back we moved vold over to use Binder, which means we can now
execute multiple parallel calls down to vold.  We instead have a lock
on the vold side to ensure certain calls continue to be serialized,
but all long-running operations now use callbacks.

Thus the vold lock should be low-contention, and any operations that
wedge vold should cause the watchdog to fire and help the device
recover.

Bug: 80472979
Test: manual
Change-Id: Ie2ec68f1fa0ff895153438fcebbe1f2a4e8be0a7
services/core/java/com/android/server/StorageManagerService.java