Commit f38c7e3
committed
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: 227c0c9 ("io_uring: internally retry short reads")
Reported-by: Hao_Xu <haoxu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 62c774e commit f38c7e3
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3172 | 3172 | | |
3173 | 3173 | | |
3174 | 3174 | | |
3175 | | - | |
3176 | | - | |
3177 | | - | |
3178 | | - | |
| 3175 | + | |
| 3176 | + | |
3179 | 3177 | | |
3180 | 3178 | | |
3181 | 3179 | | |
| |||
0 commit comments