Jens Axboe 747b1f65d3 iov_iter: overlay struct iovec and ubuf/len
Add an internal struct iovec that we can return as a pointer, with the
fields of the iovec overlapping with the ITER_UBUF ubuf and length
fields.

Then we can have iter_iov() check for the appropriate type, and return
&iter->__ubuf_iovec for ITER_UBUF and iter->__iov for ITER_IOVEC and
things will magically work out for a single segment request regardless
of either type.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-03-30 08:12:29 -06:00
..
2023-02-27 10:04:49 -08:00
2023-02-26 11:47:26 -08:00
2023-03-04 10:53:59 -08:00
2023-03-03 14:41:50 -08:00
2023-03-17 10:45:49 -07:00