On Tue, Apr 18, 2023 at 03:39:57PM -0700, Bart Van Assche wrote: > Make sure that zoned writes (REQ_OP_WRITE and REQ_OP_WRITE_ZEROES) are > submitted in LBA order. This patch does not affect REQ_OP_WRITE_APPEND > requests. As said before this is not correct. What we need to instead is to support proper patch insertation when the at_head flag is set so that the requests get inserted before the existing requests, but in ordered they are passed to the I/O scheduler. This also needs to be done for the other two I/O schedulers.