diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-03-18 11:28:13 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-18 11:42:48 -0600 |
commit | 5e929367468c8f97cd1ffb0417316cecfebef94b (patch) | |
tree | d91130d04ab34d254377cab86f374a9ede91a5da /fs/fuse | |
parent | adf3a9e9f556613197583a1884f0de40a8bb6fb9 (diff) | |
download | linux-5e929367468c8f97cd1ffb0417316cecfebef94b.tar.gz linux-5e929367468c8f97cd1ffb0417316cecfebef94b.tar.bz2 linux-5e929367468c8f97cd1ffb0417316cecfebef94b.zip |
io_uring: terminate manual loop iterator loop correctly for non-vecs
The fix for not advancing the iterator if we're using fixed buffers is
broken in that it can hit a condition where we don't terminate the loop.
This results in io-wq looping forever, asking to read (or write) 0 bytes
for every subsequent loop.
Reported-by: Joel Jaeschke <joel.jaeschke@gmail.com>
Link: https://github.com/axboe/liburing/issues/549
Fixes: 16c8d2df7ec0 ("io_uring: ensure symmetry in handling iter types in loop_rw_iter()")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions