Skip to contentSkip to conversation

io_uring fixes for 6.3-rc2

GIT PULL Merged Jens Axboe 2 participants 2 messages Mar 10, 2023 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

A few small fixes that should go into the 6.3 release:

- Stop setting PF_NO_SETAFFINITY on io-wq workers. This has been reported in the past as it confuses some applications, as some of their threads will fail with -1/EINVAL if attempted affinitized. Most recent report was on cpusets, where enabling that with io-wq workers active will fail. Just deal with the mask changing by checking when a worker times out, and then exit if we have no work pending.

- Fix an issue with passthrough support where we don't properly check if the file type has pollable uring_cmd support.

- Fix a reported W=1 warning on a variable being set and unused. Add a special helper for iterating these lists that doesn't save the previous list element, if that iterator never ends up using it.

Please pull!

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

git://git.kernel.dk/linux.git tags/io_uring-6.3-2023-03-09

for you to fetch changes up to fa780334a8c392d959ae05eb19f2410b3a1e6cb0:

io_uring: silence variable ‘prev’ set but not used warning (2023-03-09 10:10:58 -0700)

----------------------------------------------------------------
io_uring-6.3-2023-03-09

----------------------------------------------------------------
Jens Axboe (3):
io_uring/io-wq: stop setting PF_NO_SETAFFINITY on io-wq workers io_uring/uring_cmd: ensure that device supports IOPOLL
io_uring: silence variable ‘prev’ set but not used warning

 io_uring/io-wq.c     | 16 +++++++++++-----
 io_uring/io_uring.c  |  4 ++--
 io_uring/slist.h     |  5 ++++-
 io_uring/uring_cmd.c |  4 +++-
 4 files changed, 20 insertions(+), 9 deletions(-)
Signature · 1 line
Jens Axboe