Re: [PATCH synaptics] eventcomm: if we get a read error other than EAGAIN, remove the fd

2018-05-14 Thread Adam Jackson
On Mon, 2018-05-14 at 10:06 +1000, Peter Hutterer wrote: > Otherwise poll() keeps on triggering on our fd until udev gets around to > notifying the server that the device is in some state of deadness. Meanwhile, > the input thread is busy filling the log up with "Read error" messages. Great > way

[PATCH synaptics] eventcomm: if we get a read error other than EAGAIN, remove the fd

2018-05-13 Thread Peter Hutterer
Otherwise poll() keeps on triggering on our fd until udev gets around to notifying the server that the device is in some state of deadness. Meanwhile, the input thread is busy filling the log up with "Read error" messages. Great way to test file systems and their ability to handle out of space