io_uring changes for 5.3
Jens Axboe
maintainerHi Linus,
Changes that were queued up for this release. This pull request contains:
- Support for recvmsg/sendmsg as first class opcodes. I don't envision going much further down this path, as there are plans in progress to support potentially any system call in an async fashion through io_uring. But I think it does make sense to have certain core ops available directly, especially those that can support a "try this non-blocking" flag/mode. (me)
- Handle generic short reads automatically. This can happen fairly easily if parts of the buffered read is cached. Since the application needs to issue another request for the remainder, just do this internally and save kernel/user roundtrip while providing a nicer more robust API. (me)
- Support for linked SQEs. This allows SQEs to depend on each other, enabling an application to eg queue a read-from-this-file,write-to-that-file pair. (me)
- Fix race in stopping SQ thread (Jackie)
Please pull!
git://git.kernel.dk/linux-block.git tags/for-5.3/io_uring-20190711
----------------------------------------------------------------
Jackie Liu (1):
io_uring: fix io_sq_thread_stop running in front of io_sq_thread
Jens Axboe (5):
uio: make import_iovec()/compat_import_iovec() return bytes on success
io_uring: punt short reads to async context
io_uring: add support for sqe links
io_uring: add support for sendmsg()
io_uring: add support for recvmsg()
fs/aio.c | 9 +- fs/io_uring.c | 338 +++++++++++++++++++++++++++++++++++------- fs/splice.c | 8 +- include/linux/socket.h | 7 + include/linux/uio.h | 4 +- include/uapi/linux/io_uring.h | 4 + lib/iov_iter.c | 15 +- net/compat.c | 3 +- net/socket.c | 18 ++- 9 files changed, 330 insertions(+), 76 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Thu, 11 Jul 2019 09:19:27 -0600:
The pull request you sent on Thu, 11 Jul 2019 09:19:27 -0600:
Quoted 1 line
git://git.kernel.dk/linux-block.gittags/for-5.3/io_uring-20190711
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a2d79c7174aeb43b13020dd53d85a7aefdd9f3e5
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker