On 6/19/25 5:49 AM, Peter Wang (王信友) wrote:
How can we ensure that there is ordering across different HW queues? For example, req0 is sent to hwq0 and req1 is sent to hwq1, but req1 might be dispatched first?
Hi Peter, Please take a look at patch 06/12 from this series. That patch prevents that the reordering mentioned above can happen. It prevents this by queuing all zoned writes to the same hwq as long as any zoned writes are in progress. See also https://lore.kernel.org/linux-scsi/20250616223312.1607638-7-bvanassche@xxxxxxx/ Bart.