tools/io_uring: sync with liburing
authorJens Axboe <axboe@kernel.dk>
Wed, 22 May 2019 14:59:12 +0000 (08:59 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 May 2019 16:25:26 +0000 (10:25 -0600)
commit004d564f908790efe815a6510a542ac1227ef2a2
tree5d0e93aec7fe9a7f892ed794f09e99a34048a45c
parent486f069253c3c738dec62daeb16f7232b2cca065
tools/io_uring: sync with liburing

Various fixes and changes have been applied to liburing since we
copied some select bits to the kernel testing/examples part, sync
up with liburing to get those changes.

Most notable is the change that split the CQE reading into the peek
and seen event, instead of being just a single function. Also fixes
an unsigned wrap issue in io_uring_submit(), leak of 'fd' in setup
if we fail, and various other little issues.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/io_uring/io_uring-cp.c
tools/io_uring/liburing.h
tools/io_uring/queue.c
tools/io_uring/setup.c
tools/io_uring/syscall.c