Skip to contentSkip to conversation

Switch io_uring to ITER_UBUF

GIT PULL Merged Jens Axboe 2 participants 2 messages Feb 17, 2023 – Feb 20, 2023 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

Since we now have ITER_UBUF available, switch to using it for single ranges as it's more efficient than ITER_IOVEC for that.

Please pull!

The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262:

Linux 6.2-rc3 (2023-01-08 11:49:43 -0600)

are available in the Git repository at:

git://git.kernel.dk/linux.git tags/for-6.3/iter-ubuf-2023-02-16

for you to fetch changes up to d46aa786fa53cbc92593089374e49c94fd9063ae:

block: use iter_ubuf for single range (2023-01-11 10:31:49 -0700)

----------------------------------------------------------------
for-6.3/iter-ubuf-2023-02-16

----------------------------------------------------------------
Jens Axboe (3):
iov: add import_ubuf()
io_uring: switch network send/recv to ITER_UBUF
io_uring: use iter_ubuf for single range imports

Keith Busch (2):
iov_iter: move iter_ubuf check inside restore WARN
block: use iter_ubuf for single range

 block/blk-map.c     |  8 ++++----
 include/linux/uio.h |  1 +
 io_uring/net.c      | 17 +++++------------
 io_uring/rw.c       |  9 ++++++---
 lib/iov_iter.c      | 15 +++++++++++++--
 5 files changed, 29 insertions(+), 21 deletions(-)
Signature · 1 line
Jens Axboe