This patch enables fixedbufs support for io_uring_cmd. This has already been done in t/io_uring, just do it here as well. Signed-off-by: Anuj Gupta <anuj20.g@xxxxxxxxxxx> --- engines/io_uring.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/io_uring.c b/engines/io_uring.c index d0fc61dc..c679177f 100644 --- a/engines/io_uring.c +++ b/engines/io_uring.c @@ -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, -- 2.25.1