commit | 3f9d64415fdaa73017fcb168930006648617b488 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Mar 11 12:27:04 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Mar 11 12:29:15 2020 -0600 |
tree | 7be5027c3229747e267e930ed3efc9a962e3e803 | |
parent | bbbdeb4720a0759ec90e3bcb20ad28d19e531346 [diff] |
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: Jens Axboe <axboe@kernel.dk>