Skip to contentSkip to conversation

io_uring changes for 5.4-rc1

GIT PULL Merged Jens Axboe 2 participants 2 messages Sep 24, 2019 – Sep 25, 2019 Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi 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