io_uring: fix possible infinite loop
authorSatoru Takeuchi <sat@cybozu.co.jp>
Sun, 5 May 2019 23:56:36 +0000 (08:56 +0900)
committerSatoru Takeuchi <sat@cybozu.co.jp>
Sun, 5 May 2019 23:56:36 +0000 (08:56 +0900)
commitf7cbbbf8f8dc3f8e6869f8baee9ba2ecb229f45c
tree6e3d3857209ab42133390bc638a1b1b884dcb5b9
parent051382218cbe5101a5caa83eab55ed04608f8475
io_uring: fix possible infinite loop

When reaping some completed I/O before io_uring_enter(), it waits forever.

Signed-off-by: Satoru Takeuchi <sat@cybozu.co.jp>
engines/io_uring.c