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 e1646b44
-
mentioned in commit fcb0a3fa
-
mentioned in commit aad14862
-
mentioned in commit d00f55ed
-
mentioned in commit dee4e638
-
mentioned in commit 446e02a6
-
mentioned in commit eb6367e1
-
mentioned in commit 88be697d
-
mentioned in commit 51556245
-
mentioned in commit 51556245
Please sign in to comment