Re: [PATCH v18 12/12] scsi: ufs: Inform the block layer about write ordering
From: Bart Van Assche <bvanassche@acm.org>
Date: 2025-06-19 16:39:04
Also in:
linux-scsi
From: Bart Van Assche <bvanassche@acm.org>
Date: 2025-06-19 16:39:04
Also in:
linux-scsi
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@acm.org/ (local) Bart.