mbox series

[liburing,0/6] liburing changes for multishot accept

Message ID 20220514143534.59162-1-haoxu.linux@gmail.com (mailing list archive)
Headers show
Series liburing changes for multishot accept | expand

Message

Hao Xu May 14, 2022, 2:35 p.m. UTC
This adds two APIs for multishot accept, and some tests for it.
Man page changes as well.

Hao Xu (6):
  test/accept.c: close the listen fd at the end of the test
  liburing.h: support multishot accept
  liburing.h: add api to support multishot accept direct
  test/accept.c: add test for multishot mode accept
  test/accept.c: test for multishot direct accept with wrong arg
  man/io_uring_prep_accept.3: add man info for multishot accept

 man/io_uring_prep_accept.3                  |  51 ++-
 man/io_uring_prep_multishot_accept.3        |   1 +
 man/io_uring_prep_multishot_accept_direct.3 |   1 +
 src/include/liburing.h                      |  21 ++
 src/include/liburing/io_uring.h             |  14 +
 test/accept.c                               | 326 ++++++++++++++++----
 6 files changed, 340 insertions(+), 74 deletions(-)
 create mode 120000 man/io_uring_prep_multishot_accept.3
 create mode 120000 man/io_uring_prep_multishot_accept_direct.3

Comments

Jens Axboe May 14, 2022, 3:32 p.m. UTC | #1
On Sat, 14 May 2022 22:35:28 +0800, Hao Xu wrote:
> This adds two APIs for multishot accept, and some tests for it.
> Man page changes as well.
> 
> Hao Xu (6):
>   test/accept.c: close the listen fd at the end of the test
>   liburing.h: support multishot accept
>   liburing.h: add api to support multishot accept direct
>   test/accept.c: add test for multishot mode accept
>   test/accept.c: test for multishot direct accept with wrong arg
>   man/io_uring_prep_accept.3: add man info for multishot accept
> 
> [...]

Applied, thanks!

[1/6] test/accept.c: close the listen fd at the end of the test
      commit: 19b0d25193330d3cfcd636d4cc2e4ec1ec019271
[2/6] liburing.h: support multishot accept
      commit: e7c7089e352f5a6ead9c409a7d8a43ffe9cd59a5
[3/6] liburing.h: add api to support multishot accept direct
      commit: 305eb96b9dbb84a3dd3151d0debde753a354d81e
[4/6] test/accept.c: add test for multishot mode accept
      commit: 66cf84527c34acf8ea37b5cc048f04018b22ed2c
[5/6] test/accept.c: test for multishot direct accept with wrong arg
      commit: 70e40d8de2ce5e3196c84344f611ca70f34e8182
[6/6] man/io_uring_prep_accept.3: add man info for multishot accept
      commit: 9997778eed96c4ba2240c1a18773e3047be95290

Best regards,