commit | 14f9c15e056061df338b258505d1ad2e3473baed | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Mar 15 21:55:23 2022 -0700 |
committer | David Anderson <dvander@google.com> | Wed Mar 16 05:06:17 2022 +0000 |
tree | 9da4e33d338da2bce8cfcefc05ef8ed59939179d | |
parent | a323e0233df417dbc81f4eee6aa65573173a1d3d [diff] |
init: Add more diagnostics for signalfd hangs. This adds two new diagnostics. First, signalfd reads are now non-blocking. If the read takes more than 10 seconds, we log an error. Second, init now wakes up from epoll() every 10 seconds. If it waits on an "exec" command for more than 10 seconds, it logs an error. This change will be reverted as soon as we get feedback. Bug: 223076262 Test: device boots Change-Id: I7ee98d159599217a641b3de2564a92c2435f57ef