register: Remove old API io_uring_register_wait_reg
PATCH 1/1 register: Remove old API io_uring_register_wait_reg
The commit b38747291d50 ("queue: break reg wait setup") just left this API definition with always "-EINVAL" result for building test.
And new API 'io_uring_submit_and_wait_reg' has been implemented.
--- src/include/liburing.h | 2 -- src/liburing-ffi.map | 1 - src/liburing.map | 1 - src/register.c | 6 ------ 4 files changed, 10 deletions(-)
src/include/liburing.h +0 -2
@@ -210,8 +210,6 @@ int io_uring_submit_and_wait_reg(struct io_uring *ring, struct io_uring_cqe **cqe_ptr, unsigned wait_nr, int reg_index); -int io_uring_register_wait_reg (struct io_uring *ring, -struct io_uring_reg_wait *reg,int nr);int io_uring_resize_rings (struct io_uring *ring,struct io_uring_params *p); int io_uring_clone_buffers_offset(struct io_uring *dst, struct io_uring *src, unsigned int dst_off, unsigned int src_off,
src/liburing-ffi.map +0 -1
@@ -219,7 +219,6 @@ LIBURING_2.8 { LIBURING_2.9 { global: io_uring_resize_rings; - io_uring_register_wait_reg; io_uring_submit_and_wait_reg; io_uring_clone_buffers_offset; io_uring_register_region;
src/liburing.map +0 -1
@@ -106,7 +106,6 @@ LIBURING_2.8 { LIBURING_2.9 { io_uring_resize_rings; - io_uring_register_wait_reg; io_uring_submit_and_wait_reg; io_uring_clone_buffers_offset; io_uring_register_region;
src/register.c +0 -6
@@ -471,12 +471,6 @@ out:return ret; } -int io_uring_register_wait_reg (struct io_uring *ring, -struct io_uring_reg_wait *reg,int nr) -{ -return -EINVAL ; -} -int io_uring_register_region (struct io_uring *ring,struct io_uring_mem_region_reg *reg) {
Signature · 1 line
2.49.0
Jens Axboe
maintainerQuoted 4 lines · Haiyue Wang
The commit
b38747291d50("queue: break reg wait setup") just left this API definition with always "-EINVAL" result for building test.And new API '
io_uring_submit_and_wait_reg' has been implemented.
You can't just remove symbols from a previously released version of the library...
Signature · 1 line
Jens Axboe
Quoted 8 lines · Jens Axboe
Quoted 4 lines · Haiyue Wang
The commit
b38747291d50("queue: break reg wait setup") just left this API definition with always "-EINVAL" result for building test.And new API '
io_uring_submit_and_wait_reg' has been implemented.You can't just remove symbols from a previously released version of the library...
Cna only remove during the development cycle ?
Quoted 1 line
Jens Axboe
maintainerQuoted 7 lines · Haiyue Wang
Quoted 4 lines · Jens Axboe
Quoted 3 lines · Haiyue Wang
The commit
b38747291d50("queue: break reg wait setup") just left this API definition with always "-EINVAL" result for building test.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
And new API '
io_uring_submit_and_wait_reg' has been implemented.You can't just remove symbols from a previously released version of the library...
Cna only remove during the development cycle ?
Once a symbol is in a released version, it can't go away or you'd break both compile and runtime use of it. The only symbols that can get modified/removed are the ones that haven't been released yet, which right now would be the 2.10 symbols.
Signature · 1 line
Jens Axboe
Quoted 13 lines · Jens Axboe
Quoted 12 lines · Haiyue Wang
Quoted 8 lines · Jens Axboe
Quoted 4 lines · Haiyue Wang
The commit
b38747291d50("queue: break reg wait setup") just left this API definition with always "-EINVAL" result for building test.And new API '
io_uring_submit_and_wait_reg' has been implemented.You can't just remove symbols from a previously released version of the library...
Quoted 6 lines
Quoted 1 line
Cna only remove during the development cycle ?
Once a symbol is in a released version, it can't go away or you'd break both compile and runtime use of it. The only symbols that can get modified/removed are the ones that haven't been released yet, which right now would be the 2.10 symbols.
Oh, got it, thanks.