io_uring changes for 5.4-rc1
Jens Axboe
maintainerHi Linus,
Also a collection of later fixes and additions, that weren't quite ready for pushing out with the initial pull request. This pull request contains:
- Fix potential use-after-free of shadow requests (Jackie)
- Fix potential OOM crash in request allocation (Jackie)
- kmalloc+memcpy -> kmemdup cleanup (Jackie)
- Fix poll crash regression (me)
- Fix SQ thread not being nice and giving up CPU for !PREEMPT (me)
- Add support for timeouts, making it easier to do epoll_wait() conversions, for instance (me)
- Ensure io_uring works without f_ops->read_iter() and f_ops->write_iter() (me)
Please pull!
git://git.kernel.dk/linux-block.git tags/for-5.4/io_uring-2019-09-24
----------------------------------------------------------------
Jackie Liu (3):
io_uring: use kmemdup instead of kmalloc and memcpy
io_uring: fix use-after-free of shadow_req
io_uring: fix potential crash issue due to io_get_req failure
Jens Axboe (4):
io_uring: ensure poll commands clear ->sqe
io_uring: use cond_resched() in sqthread
io_uring: IORING_OP_TIMEOUT support
io_uring: correctly handle non ->{read,write}_iter() file_operations
fs/io_uring.c | 241 +++++++++++++++++++++++++++++++++++++----- include/uapi/linux/io_uring.h | 2 + 2 files changed, 219 insertions(+), 24 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Tue, 24 Sep 2019 12:50:27 +0200:
The pull request you sent on Tue, 24 Sep 2019 12:50:27 +0200:
Quoted 1 line
git://git.kernel.dk/linux-block.gittags/for-5.4/io_uring-2019-09-24
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b6cb84b4fc580098a5934078e4c8dc39e3925f07
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker