Bart Van Assche a036e698c2 block: mq-deadline: Fix handling of at-head zoned writes
Before dispatching a zoned write from the FIFO list, check whether there
are any zoned writes in the RB-tree with a lower LBA for the same zone.
This patch ensures that zoned writes happen in order even if at_head is
set for some writes for a zone and not for others.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Cc: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230517174230.897144-12-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-05-18 19:47:49 -06:00
..
2023-05-06 08:28:58 -07:00
2023-04-26 12:52:58 -07:00
2023-04-26 12:52:58 -07:00
2023-03-30 08:12:29 -06:00
2022-02-02 07:49:59 -07:00
2023-05-06 08:28:58 -07:00
2023-04-26 12:52:58 -07:00
2022-03-07 12:48:35 -07:00