io_uring: allow re-poll if we made progress
commit 10c87333 upstream. We currently check REQ_F_POLLED before arming async poll for a notification to retry. If it's set, then we don't allow poll and will punt to io-wq instead. This is done to prevent a situation where a buggy driver will repeatedly return that there's space/data available yet we get -EAGAIN. However, if we already transferred data, then it should be safe to rely on poll again. Gate the check on whether or not REQ_F_PARTIAL_IO is also set. Signed-off-by:Jens Axboe <axboe@kernel.dk> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
-
mentioned in commit 7ac6f090
-
mentioned in commit 308d8b7f
-
mentioned in commit 3cd86d5f
-
mentioned in commit a98f3fe4
-
mentioned in commit 4c3b5a0f
-
mentioned in commit e5df8f24
-
mentioned in commit 80cd5f95
-
mentioned in commit 0b0663a9
-
mentioned in commit 85f710ec
-
mentioned in commit 9d980b8a
-
mentioned in commit 63bf9759
-
mentioned in commit fb0cece7
-
mentioned in commit fb0cece7
-
mentioned in commit ac5eedbf
-
mentioned in commit 5d79889c
-
mentioned in commit b82f7d02
-
mentioned in commit 755bba00
-
mentioned in commit 82b7da8e
-
mentioned in commit b28a5779
-
mentioned in commit b28a5779
Please sign in to comment