test: fix t/run-fio-tests.py style issues identified by pylint
[fio.git] / engines / io_uring.c
index d0fc61dcac394e69419b78232c86be4aa69a7fab..c679177fb4765cd4cdf4777588af77f7d0794e5c 100644 (file)
@@ -433,6 +433,10 @@ static int fio_ioring_cmd_prep(struct thread_data *td, struct io_u *io_u)
                ld->prepped = 0;
                sqe->flags |= IOSQE_ASYNC;
        }
+       if (o->fixedbufs) {
+               sqe->uring_cmd_flags = IORING_URING_CMD_FIXED;
+               sqe->buf_index = io_u->index;
+       }
 
        cmd = (struct nvme_uring_cmd *)sqe->cmd;
        return fio_nvme_uring_cmd_prep(cmd, io_u,