engines/io_uring: Handle EINTR.
authorAndres Freund <andres@anarazel.de>
Thu, 12 Sep 2019 17:51:09 +0000 (10:51 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 12 Sep 2019 18:01:16 +0000 (11:01 -0700)
commitf6abd73197dd534a4944eabfdd11f5104fcf9409
treed90fb07be995ef4520b05d6a5297dec72c9d31c6
parent27f436d9f72a9d2d3da3adfdf712757152eab29e
engines/io_uring: Handle EINTR.

Several paths in io_uring_enter can trigger EINTR, but it was not
handled, leading to fio failing with spurious error messages.

An easy way to trigger EINTR is to just strace a running fio using
the io_uring engine and detach again.

Signed-off-by: Andres Freund <andres@anarazel.de>
engines/io_uring.c