register: Remove deprecated io_uring_cqwait_reg_arg
PATCH v3 1/1 register: Remove deprecated io_uring_cqwait_reg_arg
The opcode IORING_REGISTER_CQWAIT_REG and its argument io_uring_cqwait_reg_arg have been removed by [1] and [2].
And a more generic opcode IORING_REGISTER_MEM_REGION has been introduced by [3] since Linux 6.13.
Update the document about IORING_REGISTER_MEM_REGION based on [4] and [5].
[1]: https://git.kernel.org/torvalds/c/83e041522eb9
[2]: https://git.kernel.org/torvalds/c/c750629caeca
[3]: https://git.kernel.org/torvalds/c/93238e661855
[4]: https://git.kernel.org/torvalds/c/dfbbfbf19187
[5]: https://git.kernel.org/torvalds/c/d617b3147d54
---
v3:
- Replace the document CQWAIT_REG with MEM_REGION.
v2: https://lore.kernel.org/io-uring/[email protected]/
- Correct the commit message about the IORING_REGISTER_CQWAIT_REG which is really removed.
v1: https://lore.kernel.org/io-uring/[email protected]/
--- man/io_uring_enter.2 | 4 +-- man/io_uring_register.2 | 55 +++++++++++++++++++++------------ src/include/liburing/io_uring.h | 14 --------- 3 files changed, 37 insertions(+), 36 deletions(-)
man/io_uring_enter.2 +2 -2
@@ -133,8 +133,8 @@ is not a pointer to a but merely an offset into an area of wait regions previously registered with .BR io_uring_register (2) using the -.B IORING_REGISTER_CQWAIT_REG -operation. Available since 6.12 +.B IORING_REGISTER_MEM_REGION +operation. Available since 6.13 .PP .PP
man/io_uring_register.2 +35 -20
84 lines not on this page · raw message
src/include/liburing/io_uring.h +0 -14
@@ -851,20 +851,6 @@ enum { IORING_REG_WAIT_TS = (1U << 0), }; -/* -* Argument for IORING_REGISTER_CQWAIT_REG, registering a region of -* struct io_uring_reg_wait that can be indexed when io_uring_enter(2) is -* called rather than pass in a wait argument structure separately. -*/ -struct io_uring_cqwait_reg_arg { -__u32 flags; -__u32 struct_size; -__u32 nr_entries; -__u32 pad; -__u64 user_addr; -__u64 pad2[3 ]; -}; -/* * Argument for io_uring_enter(2) with * IORING_GETEVENTS | IORING_ENTER_EXT_ARG_REG set, where the actual argument
Signature · 1 line
2.49.0
Quoted 9 lines · Haiyue Wang
The opcode
IORING_REGISTER_CQWAIT_REGand its argumentio_uring_cqwait_reg_arghave been removed by [1] and [2].And a more generic opcode
IORING_REGISTER_MEM_REGIONhas been introduced by [3] since Linux 6.13.Update the document about
IORING_REGISTER_MEM_REGIONbased on [4] and [5].[...]
Applied, thanks!
[1/1] register: Remove deprecated io_uring_cqwait_reg_arg
commit: 3fd9ebb6889461736774a7b3c797b165789674ee
Best regards,
Signature · 1 line
Jens Axboe