[GIT PULL] io_uring fixes for 5.7-rc

Jens Axboe
2020-05-22T17:12:10Z

Hi Linus,

A small collection of small fixes that should go into this release:

- Two fixes for async request preparation (Pavel)

- Busy clear fix for SQPOLL (Xiaoguang)

- Don't use kiocb->private for O_DIRECT buf index, some file systems use
it (Bijan)

- Kill dead check in io_splice()

- Ensure sqo_wait is initialized early

- Cancel task_work if we fail adding to original process

- Only add (IO)pollable requests to iopoll list, fixing a regression in
this merge window.

Please pull!

git://git.kernel.dk/linux-block.git tags/io_uring-5.7-2020-05-22

----------------------------------------------------------------
Bijan Mottahedeh (1):
io_uring: don't use kiocb.private to store buf_index

Jens Axboe (4):
io_uring: initialize ctx->sqo_wait earlier
io_uring: remove dead check in io_splice()
io_uring: cancel work if task_work_add() fails
io_uring: don't add non-IO requests to iopoll pending list

Pavel Begunkov (2):
io_uring: don't prepare DRAIN reqs twice
io_uring: fix FORCE_ASYNC req preparation

Xiaoguang Wang (1):
io_uring: reset -EBUSY error when io sq thread is waken up

fs/io_uring.c | 60 +++++++++++++++++++++++++++++++++--------------------------
1 file changed, 34 insertions(+), 26 deletions(-)

--
Jens Axboe