On 1/10/23 04:23, Bean Huo wrote:
So few changes to the UFS and SCSI layers! Does this require a VPD probe
to check if the UFS device is a Zoned block device and Zone size?
Hi Bean,
I think it is safe to set QUEUE_FLAG_PIPELINE_ZONED_WRITES for any UFS
logical unit - zoned or not. The changes in the SCSI disk (sd) driver
are such that the number of retries is only adjusted for zoned logical
units. Only zoned logical units should report the "UNALIGNED WRITE
COMMAND" sense code.
As you may have noticed, Damien Le Moal plans to implement a new
approach - a single queue per zoned logical unit for all write commands.
Thanks,
Bart.