io_uring fixes for 6.3-rc2
Jens Axboe
maintainerHi 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
The pull request you sent on Thu, 9 Mar 2023 17:15:17 -0700:
The pull request you sent on Thu, 9 Mar 2023 17:15:17 -0700:
Quoted 1 line
git://git.kernel.dk/linux.gittags/io_uring-6.3-2023-03-09
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f331c5de7960d69fc767d2dc08f5f5859ce70061
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html