Skip to content

Add unbounded io_wq for io_uring

Jens Axboe io-uring linux-block 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io-wq: pass in io_wq to work handlerfs/io-wq.c fs/io-wq.h fs/io_uring.c+8 -80 replies
2/2io_uring: use separate io_wq's for bounded and unbounded request timesfs/io_uring.c+102 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 0/2] Add unbounded io_wq for io_uring

Currently we have just the one workqueue for each io_uring ctx, which supports any kind of IO. This is problematic with requests that have very different life times. For example, disk IO is always bounded in time, while networked IO can take a long time. Ditto with POLL commands, that also have unbounded execution time.

First patch is just a prep patch, patch number two adds support for determining the io_wq placement based on the request type.

Patches are against my for-5.5/io_uring-test branch.

 fs/io-wq.c    |   8 +--
 fs/io-wq.h    |   2 +-
 fs/io_uring.c | 145 ++++++++++++++++++++++++++++++++++++--------------
 3 files changed, 110 insertions(+), 45 deletions(-)
Signature · 1 line
 Jens Axboe