[GIT PULL] io_uring fixes for 5.8-rc2
From: Jens Axboe
Date: Fri Jun 19 2020 - 10:58:41 EST
Hi Linus,
io_uring fixes that should go into this release:
- Catch a case where io_sq_thread() didn't do proper mm acquire
- Ensure poll completions are reaped on shutdown
- Async cancelation and run fixes (Pavel)
- io-poll race fixes (Xiaoguang)
- Request cleanup race fix (Xiaoguang)
Please pull!
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:
Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)
are available in the Git repository at:
git://git.kernel.dk/linux-block.git tags/io_uring-5.8-2020-06-19
for you to fetch changes up to 6f2cc1664db20676069cff27a461ccc97dbfd114:
io_uring: fix possible race condition against REQ_F_NEED_CLEANUP (2020-06-18 08:32:44 -0600)
----------------------------------------------------------------
io_uring-5.8-2020-06-19
----------------------------------------------------------------
Jens Axboe (2):
io_uring: acquire 'mm' for task_work for SQPOLL
io_uring: reap poll completions while waiting for refs to drop on exit
Pavel Begunkov (7):
io_uring: fix lazy work init
io-wq: reorder cancellation pending -> running
io-wq: add an option to cancel all matched reqs
io_uring: cancel all task's requests on exit
io_uring: batch cancel in io_uring_cancel_files()
io_uring: lazy get task
io_uring: cancel by ->task not pid
Xiaoguang Wang (3):
io_uring: don't fail links for EAGAIN error in IOPOLL mode
io_uring: add memory barrier to synchronize io_kiocb's result and iopoll_completed
io_uring: fix possible race condition against REQ_F_NEED_CLEANUP
fs/io-wq.c | 108 ++++++++++++++++++-----------------
fs/io-wq.h | 4 +-
fs/io_uring.c | 177 +++++++++++++++++++++++++++++++++++++++-------------------
3 files changed, 177 insertions(+), 112 deletions(-)
--
Jens Axboe