[GIT PULL] io_uring fixes for 5.6-rc1

From: Jens Axboe
Date: Wed Feb 05 2020 - 16:26:33 EST


Hi Linus,

Some later fixes for io_uring that should go into this merge window.
This pull request contains:

- Small cleanup series from Pavel

- Belt and suspenders build time check of sqe size and layout (Stefan)

- Addition of ->show_fdinfo() on request of Jann Horn, to aid in
understanding mapped personalities

- eventfd recursion/deadlock fix, for both io_uring and aio

- Fixup for send/recv handling

- Fixup for double deferral of read/write request

- Fix for potential double completion event for close request

- Adjust fadvise advice async/inline behavior

- Fix for shutdown hang with SQPOLL thread

- Fix for potential use-after-free of fixed file table

Please pull!


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


----------------------------------------------------------------
Jens Axboe (10):
io_uring: add ->show_fdinfo() for the io_uring file descriptor
eventfd: track eventfd_signal() recursion depth
io_uring: prevent potential eventfd recursion on poll
io_uring: use the proper helpers for io_send/recv
io_uring: don't map read/write iovec potentially twice
io_uring: fix sporadic double CQE entry for close
io_uring: punt even fadvise() WILLNEED to async context
aio: prevent potential eventfd recursion on poll
io_uring: spin for sq thread to idle on shutdown
io_uring: cleanup fixed file data table references

Pavel Begunkov (3):
io_uring: remove extra ->file check
io_uring: iterate req cache backwards
io_uring: put the flag changing code in the same spot

Stefan Metzmacher (1):
io_uring: add BUILD_BUG_ON() to assert the layout of struct io_uring_sqe

fs/aio.c | 20 +++-
fs/eventfd.c | 15 +++
fs/io_uring.c | 254 ++++++++++++++++++++++++++++++++++++++----------
include/linux/eventfd.h | 14 +++
4 files changed, 251 insertions(+), 52 deletions(-)

--
Jens Axboe