Skip to content

io_uring: support for linked SQEs

Jens Axboe linux-block linux-fsdevel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3uio: make import_iovec()/compat_import_iovec() return bytes on successfs/aio.c fs/io_uring.c fs/splice.c +4 more+31 -270 replies
2/3io_uring: punt short reads to async contextfs/io_uring.c+13 -20 replies
3/3io_uring: add support for sqe linksfs/io_uring.c include/uapi/linux/io_uring.h+192 -480 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHSET v2 0/3] io_uring: support for linked SQEs

Here's v2 of the linked SQE patchset. For a full description of this feature, please refer to the v1 posting:

https://lore.kernel.org/linux-block/[email protected]/

Changes since v1 are just fixes, and nothing major at that. Some of the v1 error handling wasn't quite correct, this should be. The liburing repo contains the link-cp copy implementation using linked SQEs, and also has a test case that exercises a few of the link combinations.

Patches are against my for-linus branch, but should apply to Linus master just fine as well.

 block/blk-core.c              |  74 +++++++++-
 block/blk-sysfs.c             |  47 ++----
 block/blk.h                   |   1 +
 drivers/block/loop.c          |  18 +--
 fs/aio.c                      |   9 +-
 fs/block_dev.c                |  25 ++--
 fs/io_uring.c                 | 268 ++++++++++++++++++++++++++--------
 fs/splice.c                   |   8 +-
 include/linux/uio.h           |   4 +-
 include/uapi/linux/io_uring.h |   1 +
 lib/iov_iter.c                |  15 +-
 net/compat.c                  |   3 +-
 net/socket.c                  |   3 +-
 13 files changed, 329 insertions(+), 147 deletions(-)
Signature · 1 line
Jens Axboe