[PATCH liburing 0/8] update reg-wait to use region API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.46.0





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux