io_uring: use iter_ubuf for single range imports
authorJens Axboe <axboe@kernel.dk>
Thu, 5 Jan 2023 19:07:32 +0000 (11:07 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jan 2023 03:59:17 +0000 (20:59 -0700)
commit1e23db450cff5f0410480137041181d1514bda2a
tree0063af8cb61c30a8ddb7a0c2abae701c54867206
parent4b61152e107a95bc0a73d84072dbd75cb97689e3
io_uring: use iter_ubuf for single range imports

This is more efficient than iter_iov.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
[merge to 6.2, minor fixes]
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
io_uring/rw.c