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

Adam Jackson ajax at nwnk.net
Mon May 14 17:59:24 UTC 2018


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 to test file systems and their ability to handle out of space scenarios
> but otherwise a bit pointless. Those FS developers should write their own
> tests instead of relying on the synaptics driver!
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax


More information about the xorg-devel mailing list