]> git.baikalelectronics.ru Git - kernel.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)
commit11351e5f082f3a860008971d457ea7e513c8df68
tree140780e14b4a3550f664f69c5c8f78dbba861aab
parentadbd842dce3fd3a34578398cf1d6da60f4acc03c
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: bae9fda2441a ("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