The following changes since commit 05ef0e4e822ffa81d6e92ed538d32cc37a907279: Merge branch 'master' of https://github.com/kraj/fio (2022-08-24 20:09:29 -0600) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to c27ae7ae6c3d9108bba80ff71cf36bf7fc8b34c9: engines/io_uring: delete debug code (2022-08-25 11:19:34 -0600) ---------------------------------------------------------------- Jens Axboe (1): engines/io_uring: delete debug code engines/io_uring.c | 6 ------ 1 file changed, 6 deletions(-) --- Diff of recent changes: diff --git a/engines/io_uring.c b/engines/io_uring.c index 89d64b06..94376efa 100644 --- a/engines/io_uring.c +++ b/engines/io_uring.c @@ -445,18 +445,12 @@ static struct io_u *fio_ioring_event(struct thread_data *td, int event) struct io_uring_cqe *cqe; struct io_u *io_u; unsigned index; - static int eio; index = (event + ld->cq_ring_off) & ld->cq_ring_mask; cqe = &ld->cq_ring.cqes[index]; io_u = (struct io_u *) (uintptr_t) cqe->user_data; - if (eio++ == 5) { - printf("mark EIO\n"); - cqe->res = -EIO; - } - if (cqe->res != io_u->xfer_buflen) { if (cqe->res > io_u->xfer_buflen) io_u->error = -cqe->res;