io-wq · shipping · also io_uring worker pool

io-wq

io-wq is the Linux io_uring worker facility that executes requests offloaded to asynchronous helper threads.

Linux v6.14 queues offloaded work and tries to activate a free worker; creation of another worker is constrained by the pool's worker count. Not every io_uring request needs this path. [3] [1]

The bounded and unbounded classes describe work execution, not unlimited thread counts or an application deadline. io_uring_register_iowq_max_workers takes two maxima, bounded first and unbounded second. Passing two zeros queries the existing limits; successful calls return the previous settings in that array. Idle workers can be retired, so a maximum is not a reservation. [2]

In the v6.14 worker-limit helper, zero leaves that class unchanged; positive requests are capped by RLIMIT_NPROC. Query again with a fresh zero-filled array after changing limits. The set-call array contains old values, not the new limits or live worker counts. [3] [2] The registration result describes the selected task's pool, not every submitting task. If that pool does not exist, v6.14 returns two zeros; this is not evidence that execution is disabled. [6]

SQE consumption permits reuse of the submission slot even when execution has been deferred. It does not mean the requested transfer has finished or that its data buffer can be reused. [4]

Relations

related
io_uring, IOSQE_ASYNC

Advantages

  • Worker offload accommodates operations that cannot finish through the initial nonblocking issue path. [1]

Limitations

  • Pool sizing alone establishes neither write dependencies nor persistence. [4]

Citations

  1. liburing 2.10: io_uring_sqe_set_flags(3), IOSQE_ASYNC (accessed 2026-11-28)
  2. liburing 2.10: io_uring_register_iowq_max_workers(3) (accessed 2026-11-28)
  3. Linux v6.14: io-wq.c, enqueue, worker creation and io_wq_max_workers (accessed 2026-11-28)
  4. liburing 2.10: io_uring_enter(2), submission consumption and IORING_OP_FSYNC (accessed 2026-11-28)
  5. Linux v6.14: io_register_iowq_max_workers, existing-pool and no-pool return paths (accessed 2026-11-28)

Further reading

  1. io_uring: helper-thread execution, limits and completion boundaries (accessed 2026-11-28)
Sources & caveats
  • Pinned API review: liburing 2.10; implementation review: Linux v6.14 io_wq_enqueue, io_wq_create_worker and io_wq_max_workers.
  • No kernel workload, latency benchmark or power-loss experiment was run.

JSON: /data/terms/io-wq.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. io-wq. Hesela. 2026-11-28. https://hesela.dev/terms/io-wq/