--- libev/ev_iouring.c 2020/07/26 11:10:45 1.23 +++ libev/ev_iouring.c 2023/05/14 19:02:31 1.27 @@ -67,7 +67,7 @@ * later versions not only bump this to 32k, but also can handle * an unlimited amount of events, so this only affects the batch size. * i) unlike linux aio, you *can* register more then the limit - * of fd events. while early verisons of io_uring signalled an overflow + * of fd events. while early versions of io_uring signalled an overflow * and you ended up getting wet. 5.5+ does not do this anymore. * j) but, oh my! it had exactly the same bugs as the linux aio backend, * where some undocumented poll combinations just fail. fortunately, @@ -322,13 +322,11 @@ } inline_size -struct io_uring_sqe * +void iouring_sqe_submit (EV_P_ struct io_uring_sqe *sqe) { unsigned idx = sqe - EV_SQES; - printf ("submit idx %d, op %d, fd %d, us5r %p, poll %d\n", idx, sqe->opcode, sqe->fd, sqe->user_data, sqe->poll_events); - EV_SQ_ARRAY [idx] = idx; ECB_MEMORY_FENCE_RELEASE; ++EV_SQ_VAR (tail); @@ -350,7 +348,7 @@ /* called for full and partial cleanup */ ecb_cold -static int +static void iouring_internal_destroy (EV_P) { close (iouring_tfd);