mbox series

[liburing,v2,0/5] IORING_OP_BIND/LISTEN support

Message ID 20240723231733.31884-1-krisman@suse.de (mailing list archive)
Headers show
Series IORING_OP_BIND/LISTEN support | expand

Message

Gabriel Krisman Bertazi July 23, 2024, 11:17 p.m. UTC
This is the v2 of userspace support for OP_BIND/OP_LISTEN with wrappers,
manpages and tests.

Beyond the requested fixes in v1, I completely rewrote the testcase to
avoid pthreads and introduced more test cases.  It also ensures the
testcase is properly skipped for older kernels.

Gabriel Krisman Bertazi (5):
  liburing: Add helper to prepare IORING_OP_BIND command
  liburing: Add helper to prepare IORING_OP_LISTEN command
  tests: Add test for bind/listen commands
  man/io_uring_prep_bind.3: Document the IORING_OP_BIND operation
  man/io_uring_prep_listen.3: Document IORING_OP_LISTEN operation

 man/io_uring_prep_bind.3        |  54 +++++
 man/io_uring_prep_listen.3      |  52 +++++
 src/include/liburing.h          |  13 ++
 src/include/liburing/io_uring.h |   2 +
 src/liburing-ffi.map            |   2 +
 test/Makefile                   |   1 +
 test/bind-listen.c              | 381 ++++++++++++++++++++++++++++++++
 7 files changed, 505 insertions(+)
 create mode 100644 man/io_uring_prep_bind.3
 create mode 100644 man/io_uring_prep_listen.3
 create mode 100644 test/bind-listen.c

Comments

Jens Axboe July 24, 2024, 12:22 a.m. UTC | #1
On Tue, 23 Jul 2024 19:17:28 -0400, Gabriel Krisman Bertazi wrote:
> This is the v2 of userspace support for OP_BIND/OP_LISTEN with wrappers,
> manpages and tests.
> 
> Beyond the requested fixes in v1, I completely rewrote the testcase to
> avoid pthreads and introduced more test cases.  It also ensures the
> testcase is properly skipped for older kernels.
> 
> [...]

Applied, thanks!

[1/5] liburing: Add helper to prepare IORING_OP_BIND command
      commit: bf7c4f6b817c040bcc0215b43c64f95f1f50172a
[2/5] liburing: Add helper to prepare IORING_OP_LISTEN command
      commit: 7d515bb6a639efc64849223e179ea5d54ceaad0b
[3/5] tests: Add test for bind/listen commands
      commit: 3815f772333c81409b95903ea7382ec8c687c0f9
[4/5] man/io_uring_prep_bind.3: Document the IORING_OP_BIND operation
      commit: 7e9707fc3432b7c94fd2d59ad21bf105071660d8
[5/5] man/io_uring_prep_listen.3: Document IORING_OP_LISTEN operation
      commit: a877fb11036d7fd025f6129f54848363dc3b5b31

Best regards,