[GIT PULL] io_uring fixes for 5.6-rc2

From: Jens Axboe
Date: Fri Feb 14 2020 - 11:46:01 EST


Hi Linus,

Here's a set of fixes for io_uring that should go into this release.
This pull request contains:

- Various fixes with cleanups from Pavel, fixing corner cases where
we're not correctly dealing with iovec cleanup.

- Clarify that statx/openat/openat2 don't accept fixed files

- Buffered raw device write EOPTNOTSUPP fix

- Ensure async workers grab current->fs

- A few task exit fixes with pending requests that grab the file table

- send/recvmsg async load fix

- io-wq offline node setup fix

- CQ overflow flush in poll

Please pull!


git://git.kernel.dk/linux-block.git tags/io_uring-5.6-2020-02-14


----------------------------------------------------------------
Jens Axboe (11):
io_uring: statx/openat/openat2 don't support fixed files
io_uring: retry raw bdev writes if we hit -EOPNOTSUPP
io-wq: add support for inheriting ->fs
io_uring: grab ->fs as part of async preparation
io_uring: allow AT_FDCWD for non-file openat/openat2/statx
io-wq: make io_wqe_cancel_work() take a match handler
io-wq: add io_wq_cancel_pid() to cancel based on a specific pid
io_uring: cancel pending async work if task exits
io_uring: retain sockaddr_storage across send/recvmsg async punt
io-wq: don't call kXalloc_node() with non-online node
io_uring: prune request from overflow list on flush

Pavel Begunkov (8):
io_uring: get rid of delayed mm check
io_uring: fix deferred req iovec leak
io_uring: remove unused struct io_async_open
io_uring: fix iovec leaks
io_uring: add cleanup for openat()/statx()
io_uring: fix async close() with f_op->flush()
io_uring: fix double prep iovec leak
io_uring: fix openat/statx's filename leak

Randy Dunlap (1):
io_uring: fix 1-bit bitfields to be unsigned

Stefano Garzarella (1):
io_uring: flush overflowed CQ events in the io_uring_poll()

fs/io-wq.c | 92 +++++++++++++++---
fs/io-wq.h | 6 +-
fs/io_uring.c | 299 +++++++++++++++++++++++++++++++++++++++-------------------
3 files changed, 284 insertions(+), 113 deletions(-)

--
Jens Axboe