io_uring: allow re-poll if we made progress
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>
-
mentioned in commit 7ac6f090
-
mentioned in commit 321383fa
-
mentioned in commit 308d8b7f
-
mentioned in commit cbb8107b
-
mentioned in commit 3cd86d5f
-
mentioned in commit eacf23c6
-
mentioned in commit 0cc4b4d4
-
mentioned in commit a98f3fe4
-
mentioned in commit 4c3b5a0f
-
mentioned in commit 095382c2
-
mentioned in commit e5df8f24
-
mentioned in commit c25e199b
-
mentioned in commit 80cd5f95
-
mentioned in commit 81c3b677
-
mentioned in commit 4584164b
-
mentioned in commit 0b0663a9
-
mentioned in commit 85f710ec
-
mentioned in commit cec06e3a
-
mentioned in commit 138d120f
-
mentioned in commit 9d980b8a
-
mentioned in commit 63bf9759
-
mentioned in commit d54d4171
-
mentioned in commit ac5eedbf
-
mentioned in commit d3e11255
-
mentioned in commit 5d79889c
-
mentioned in commit b81ff0ea
-
mentioned in commit b82f7d02
-
mentioned in commit 47c4d528
-
mentioned in commit 755bba00
-
mentioned in commit f294c013
-
mentioned in commit 82b7da8e
-
mentioned in commit 0c457134
-
mentioned in commit e1646b44
-
mentioned in commit 303c098a
-
mentioned in commit fcb0a3fa
-
mentioned in commit 08f7fcc0
-
mentioned in commit aad14862
-
mentioned in commit 468cfeb3
-
mentioned in commit d00f55ed
-
mentioned in commit 9531b44b
-
mentioned in commit 4f3364b4
-
mentioned in commit dee4e638
-
mentioned in commit 446e02a6
-
mentioned in commit 737f03fc
-
mentioned in commit eb6367e1
-
mentioned in commit 97903e9b
-
mentioned in commit 88be697d
-
mentioned in commit 6b3d1f96