Skip to contentSkip to conversation

io_uring fixes for 6.12-rc4

GIT PULL Merged Jens Axboe 2 participants 2 messages Oct 18, 2024 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

Just a few odd fixes that should make it into -rc4:

- Fix a regression this merge window where cloning of registered buffers didn't take into account the dummy_ubuf.

- Fix a race with reading how many SQRING entries are available, causing userspace to need to loop around io_uring_sqring_wait() rather than being able to rely on SQEs being available when it returned.

- Ensure that the SQPOLL thread is TASK_RUNNING before running task_work off the cancelation exit path.

Please pull!

The following changes since commit f7c9134385331c5ef36252895130aa01a92de907:

io_uring/rw: allow pollable non-blocking attempts for !FMODE_NOWAIT (2024-10-06 20:58:53 -0600)

are available in the Git repository at:

git://git.kernel.dk/linux.git tags/io_uring-6.12-20241018

for you to fetch changes up to 8f7033aa4089fbaf7a33995f0f2ee6c9d7b9ca1b:

io_uring/sqpoll: ensure task state is TASK_RUNNING when running task_work (2024-10-17 08:38:04 -0600)

----------------------------------------------------------------
io_uring-6.12-20241018

----------------------------------------------------------------
Jens Axboe (3):
io_uring/sqpoll: close race on waiting for sqring entries io_uring/rsrc: ignore dummy_ubuf for buffer cloning io_uring/sqpoll: ensure task state is TASK_RUNNING when running task_work

 io_uring/io_uring.h | 10 +++++++++-
 io_uring/rsrc.c     |  3 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)
Signature · 1 line
Jens Axboe