Comment 42 for bug 1752411

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi fermulator,
I was wondering vice versa if 5 seconds would be too short actually.
Yes the good cases will return in sub-second, but it is the bad cases we want to fix here.
Having a bit more time to recover if it can doesn't seem too bad to me.

On the question of host -W for waiting.
While it isn't fully clarified, we have to consider that in this case there is a real hang inside host or one of its syscalls due to the odd states the devices are in.
That said it could be that the call just blocks forever and a "host internal" timeout would never trigger leaving the system in just the bad state it is now.

Instead the external timeout wrapper should be immune to that, and therefore is better for this case.