Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: ensure async buffered read-retry is setup properly
ANBZ: torvalds#190 commit f38c7e3 upstream. A previous commit for fixing up short reads botched the async retry path, so we ended up going to worker threads more often than we should. Fix this up, so retries work the way they originally were intended to. Fixes: 227c0c9 ("io_uring: internally retry short reads") Reported-by: Hao_Xu <haoxu@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com> Reviewed-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> Reviewed-by: Hao Xu <haoxu@linux.alibaba.com> Tested-by: Hao Xu <haoxu@linux.alibaba.com>
- Loading branch information