]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
io_uring: ensure async buffered read-retry is setup properly
authorJens Axboe <axboe@kernel.dk>
Fri, 25 Sep 2020 21:23:43 +0000 (15:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 25 Sep 2020 21:39:13 +0000 (15:39 -0600)
commitf38c7e3abfba9a9e180b34f642254c43782e7ffe
tree140780e14b4a3550f664f69c5c8f78dbba861aab
parent62c774ed483174b994c79e0c9f596b315f1ddfaf
io_uring: ensure async buffered read-retry is setup properly

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: 227c0c9673d8 ("io_uring: internally retry short reads")
Reported-by: Hao_Xu <haoxu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c