mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
io_uring/rw: reinstate thread check for retries
Allowing retries for everything is arguably the right thing to do, now that every command type is async read from the start. But it's exposed a few issues around missing check for a retry (whichcca6571381exposed), and the fixup commit for that isn't necessarily 100% sound in terms of iov_iter state. For now, just revert these two commits. This unfortunately then re-opens the fact that -EAGAIN can get bubbled to userspace for some cases where the kernel very well could just sanely retry them. But until we have all the conditions covered around that, we cannot safely enable that. This reverts commitdf604d2ad4. This reverts commitcca6571381. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
6fe4220912
commit
039a2e800b
3 changed files with 29 additions and 25 deletions
Loading…
Add table
Add a link
Reference in a new issue