Skip to content

io_uring improvements

Jens Axboe linux-block linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iov_iter: add ITER_BVEC_FLAG_NO_REF flagfs/io_uring.c include/linux/uio.h+22 -50 replies
2/3block: add BIO_NO_PAGE_REF flagblock/bio.c fs/block_dev.c fs/iomap.c +1 more+39 -290 replies
3/3io_uring: add io_uring_event cache hit informationfs/io_uring.c include/uapi/linux/io_uring.h+10 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 0/3] io_uring improvements

This is on top of the just posted "PATCHSET v2 0/7] io_uring fixes" series.

This re-introduces the ability to NOT have to touch page reference counts for our fixed buffers. Instead of assuming that's always safe to do with a BVEC iter, we add an explicit flag for that. This shifts the iter types a bit, but otherwise shouldn't cause any changes.

The final patch re-adds the "we hit cache" flag. I left this out of the initial series due to concerns over informing userspace about this, with all the mincore etc discussions.

 block/bio.c                   | 43 +++++++++++++++++++----------------
 fs/block_dev.c                | 12 ++++++----
 fs/io_uring.c                 |  9 +++++++-
 fs/iomap.c                    | 12 ++++++----
 include/linux/blk_types.h     |  1 +
 include/linux/uio.h           | 24 +++++++++++++++----
 include/uapi/linux/io_uring.h |  5 ++++
 7 files changed, 71 insertions(+), 35 deletions(-)
Signature · 1 line
Jens Axboe