Skip to content
Commit 3f9d6441 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: fix truncated async read/readv and write/writev retry



Ensure we keep the truncated value, if we did truncate it. If not, we
might read/write more than the registered buffer size.

Also for retry, ensure that we return the truncated mapped value for
the vectorized versions of the read/write commands.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bbbdeb47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment