diff options
author | Martijn Coenen <maco@google.com> | 2019-12-09 17:02:44 +0100 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2019-12-10 13:10:51 +0100 |
commit | 7391820c23a95767f91abfeda6436d3268602eb3 (patch) | |
tree | c6a212b97d2124ae6bf8efdee45d81ba2538514f /rs/java/android/renderscript/Program.java | |
parent | 7402191ae74d372f3b726b9e169de43ab98656f2 (diff) |
Deal with MediaProvider process dying.
There is no way to recover the FUSE filesystem once the MediaProvider
process has died; the kernel and userspace are out of sync at that
point, and libfuse will return -EIO on all requests.
Now when the process dies, tell StoragemanagerService that it needs to
reset all volumes for a user. Since we currently don't have a way to do
this for one user, just call through to H_RESET. This can be optimized
later. This also means we no longer need to keep a hold of the FUSE fd
in system_server; just pass it along directly when we start a session.
Bug: 137890172
Test: atest AdoptableHostTest
Change-Id: I2e6952ccece6bf2945b4ed81c70330b278554d13
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions