Thanks, I'll try it :)
Yes, it can reorder them. So, there are 2 ways: - wait for the completion - order the requests within io_uring I'd recommend the ordering option by using IOSQE_IO_LINK, which guarantees sequential execution of linked requests. There is also IOSQE_IO_DRAIN, but it's rather inefficient.
-- With best regards, Vitaliy Filippov