diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-01-10 14:28:10 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-10 14:28:10 -0700 |
commit | d5b4ae1c58f49d3d665faadd0e2eddcef9aadc68 (patch) | |
tree | 77db153ea81470f720d18c7934b408b8ac954e2d /src/io_uring.c | |
parent | 6cdce17753a3664484c907ed264e734ed5f3c2d7 (diff) |
Update to newer API
- Fixed buffers are now available through io_uring_register()
- Various thread/wq options are now dead and automatic instead
- sqe->index is now sqe->buf_index
- Fixed buffers require flag, not separate opcode
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/io_uring.c')
-rw-r--r-- | src/io_uring.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/io_uring.c b/src/io_uring.c index d9c1511..bf79b9f 100644 --- a/src/io_uring.c +++ b/src/io_uring.c @@ -189,12 +189,11 @@ err: * contains the necessary information to read/write to the rings. */ int io_uring_queue_init(unsigned entries, struct io_uring_params *p, - struct iovec *iovecs, unsigned nr_iovecs, struct io_uring *ring) { int fd, ret; - fd = io_uring_setup(entries, iovecs, nr_iovecs, p); + fd = io_uring_setup(entries, p); if (fd < 0) return fd; |