Update API
- io_uring_sqe added a data field that's passed back at completion - io_uring_sqe added an index field, for fixed buffer locations - io_uring_setup(2) system call added a 'nr_iovecs' field Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -189,11 +189,12 @@ 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, struct io_uring *ring)
|
||||
struct iovec *iovecs, unsigned nr_iovecs,
|
||||
struct io_uring *ring)
|
||||
{
|
||||
int fd, ret;
|
||||
|
||||
fd = io_uring_setup(entries, iovecs, p);
|
||||
fd = io_uring_setup(entries, iovecs, nr_iovecs, p);
|
||||
if (fd < 0)
|
||||
return fd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user