David Wei f46b9cdb22 io_uring: limit local tw done
Instead of eagerly running all available local tw, limit the amount of
local tw done to the max of IO_LOCAL_TW_DEFAULT_MAX (20) or wait_nr. The
value of 20 is chosen as a reasonable heuristic to allow enough work
batching but also keep latency down.

Add a retry_llist that maintains a list of local tw that couldn't be
done in time. No synchronisation is needed since it is only modified
within the task context.

Signed-off-by: David Wei <dw@davidwei.uk>
Link: https://lore.kernel.org/r/20241120221452.3762588-3-dw@davidwei.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-11-21 07:11:00 -07:00
..
2024-09-01 10:04:56 -04:00
2024-10-02 17:14:53 -07:00
2024-09-26 10:27:10 -07:00
2024-09-27 09:55:30 -07:00
2024-09-09 16:39:18 -07:00
2024-08-29 04:32:32 -06:00
2024-09-27 12:10:45 -07:00
2024-08-28 06:53:58 -07:00
2024-09-25 14:56:40 -07:00
2024-09-24 14:54:26 -07:00
2024-09-16 08:54:30 +02:00
2024-09-29 08:51:30 -07:00
2024-09-03 21:15:36 -07:00
2024-09-18 07:52:24 +02:00
2024-09-27 12:10:45 -07:00
2024-09-19 10:18:15 +02:00
2024-09-21 09:27:50 -07:00
2024-10-01 17:01:40 +02:00
2024-09-09 16:39:05 -07:00
2024-08-29 10:39:37 +02:00
2024-08-23 20:50:19 +02:00
2024-11-21 07:11:00 -07:00
2024-08-08 17:15:02 +02:00
2024-08-27 14:12:51 +02:00
2024-09-03 21:15:46 -07:00
2024-09-20 18:28:26 +03:00
2024-09-01 20:26:03 -07:00
2024-09-09 16:39:04 -07:00
2024-09-24 14:54:26 -07:00
2024-08-11 17:04:29 +01:00
2024-09-03 21:15:44 -07:00
2024-09-23 15:03:30 -04:00
2024-09-20 17:53:17 -07:00
2024-08-30 08:22:38 +02:00
2024-09-23 14:08:08 -07:00
2024-09-19 14:25:32 -05:00
2024-09-19 14:25:34 -05:00
2024-09-17 01:06:59 -07:00
2024-09-05 11:14:14 +02:00
2024-09-18 08:53:53 +02:00
2024-09-18 08:53:53 +02:00
2024-08-14 16:59:28 -04:00
2024-09-11 20:44:31 -07:00
2024-09-18 07:52:24 +02:00
2024-09-11 20:44:32 -07:00
2024-08-12 23:50:58 +05:30
2024-09-19 10:18:15 +02:00
2024-08-09 09:43:46 -07:00
2024-09-22 11:19:35 -07:00
2024-08-06 13:42:40 +02:00
2024-09-12 12:20:39 +02:00
2024-09-09 16:39:04 -07:00
2024-09-01 20:25:43 -07:00