On 5/17/23 07:33, Bart Van Assche wrote: > 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@xxxxxx> > Cc: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> > Cc: Ming Lei <ming.lei@xxxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx> -- Damien Le Moal Western Digital Research