update reg-wait to use region API
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | queue: break reg wait setupsrc/ src/ | +1 | 0 replies | |
| 2/8 | Update io_uring.hsrc/ | +26 | 0 replies | |
| 3/8 | queue: add region helpers and fix up wait reg kernel apisrc/ src/ src/ +2 more | +14 | 0 replies | |
| 4/8 | examples: convert reg-wait to new apiexamples/ | +39 | 0 replies | |
| 5/8 | tests: convert reg-wait to regionstest/ | +83 | 0 replies | |
| 6/8 | tests: add region testingtest/ | +137 | 0 replies | |
| 7/8 | tests: test arbitrary offset reg waitstest/ | +43 | 0 replies | |
| 8/8 | Remove leftovers of old reg-wait registration apisrc/ src/ src/ +1 more | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH liburing 0/8] update reg-wait to use region API
Reflect changes of the kernel API for registered waits and fix up tests. The only thing that changed for the user is how we register the area, which is now more generic and called areas. It should also be done now while the ring is in the disabled state, see IORING_SETUP_R_DISABLED.
In the future we might want to improve the liburing API for regions, i.e. adding a structure and a bunch of functions setting up the region in different modes.
Pavel Begunkov (8):
queue: break reg wait setup
Update io_uring.h
queue: add region helpers and fix up wait reg kernel api
examples: convert reg-wait to new api
tests: convert reg-wait to regions
tests: add region testing
tests: test arbitrary offset reg waits
Remove leftovers of old reg-wait registration api
examples/reg-wait.c | 45 +++- src/include/liburing.h | 7 +- src/include/liburing/io_uring.h | 27 ++- src/liburing-ffi.map | 3 +- src/liburing.map | 3 +- src/queue.c | 4 +- src/register.c | 13 +- src/setup.c | 29 --- test/reg-wait.c | 377 +++++++++++++++++++++----------- 9 files changed, 332 insertions(+), 176 deletions(-)
Signature · 1 line
2.46.0