diff options
| author | Nathan Chancellor <nathan@kernel.org> | 2026-06-16 14:39:02 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-06-16 15:59:10 -0600 |
| commit | ff3ac1a0bd75400375678c0f81c2b613cbc03e14 (patch) | |
| tree | e78f31a1fe8f585354c22f44df72dba65d5f4593 /io_uring | |
| parent | 1fe703cc708f19209ae8e6261247483db723c221 (diff) | |
| download | linux-next-ff3ac1a0bd75400375678c0f81c2b613cbc03e14.tar.gz linux-next-ff3ac1a0bd75400375678c0f81c2b613cbc03e14.zip | |
io_uring: Use system_dfl_wq instead of system_unbound_wq
Commit de7341ffe49e ("io_uring: switch normal task_work to a mpscq")
added a use of system_unbound_wq, which is deprecated in favor of
system_dfl_wq added by commit 128ea9f6ccfb ("workqueue: Add
system_percpu_wq and system_dfl_wq"). An upcoming warning in the
workqueue tree flags this with:
workqueue: work func io_tctx_fallback_work enqueued on deprecated workqueue. Use system_{percpu|dfl}_wq instead.
Switch to system_dfl_wq to clear up the warning.
Fixes: de7341ffe49e ("io_uring: switch normal task_work to a mpscq")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260616-io_uring-fix-wq-warning-v1-1-cfc9d934eedb@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
| -rw-r--r-- | io_uring/tw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/tw.c b/io_uring/tw.c index f2ce806b01a1..a4c872870d81 100644 --- a/io_uring/tw.c +++ b/io_uring/tw.c @@ -51,7 +51,7 @@ static void io_fallback_tw(struct io_uring_task *tctx) * the queued work) stay around until the drain has run. */ get_task_struct(tctx->task); - if (!queue_work(system_unbound_wq, &tctx->fallback_work)) + if (!queue_work(system_dfl_wq, &tctx->fallback_work)) put_task_struct(tctx->task); } |
