Jens Axboe c261e4f1dd io_uring/register: limit ring resizing to DEFER_TASKRUN
With DEFER_TASKRUN, we know the ring can't be both waited upon and
resized at the same time. This is important for CQ resizing. Allowing SQ
ring resizing is more trivial, but isn't the interesting use case. Hence
limit ring resizing in general to DEFER_TASKRUN only for now. This isn't
a huge problem as CQ ring resizing is generally the most useful on
networking type of workloads where it can be hard to size the ring
appropriately upfront, and those should be using DEFER_TASKRUN for
better performance.

Fixes: 79cfe9e59c2a ("io_uring/register: add IORING_REGISTER_RESIZE_RINGS")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-12-19 09:32:26 -07:00
..
2024-11-21 07:11:00 -07:00
2024-09-16 13:29:00 +02:00
2024-11-15 09:55:54 -07:00
2024-06-19 07:57:21 -06:00
2022-07-24 18:39:11 -06:00
2024-11-18 17:02:57 -08:00
2024-11-13 11:44:30 -05:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00