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

io_uring: retain iov_iter state over io_read/io_write calls



Instead of maintaining (and setting/remembering) iov_iter size and
segment counts, just put the iov_iter in the async part of the IO
structure.

This is mostly a preparation patch for doing appropriate internal retries
for short reads, but it also cleans up the state handling nicely and
simplifies it quite a bit.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ebf0d100
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment