On 8/27/25 23:29, Bart Van Assche wrote:
Hi Jens,
This patch series improves small write IOPS by a factor of two for zoned UFS
devices on my test setup. The changes included in this patch series are as
follows:
- A new request queue limits flag is introduced that allows block drivers to
declare whether or not the request order is preserved per hardware queue.
- The order of zoned writes is preserved in the block layer by submitting all
zoned writes from the same CPU core as long as any zoned writes are pending.
- A new member 'from_cpu' is introduced in the per-zone data structure
'blk_zone_wplug' to track from which CPU to submit zoned writes. This data
member is reset to -1 after all pending zoned writes for a zone have
completed.
- The retry count for zoned writes is increased in the SCSI core to deal with
reordering caused by unit attention conditions or the SCSI error handler.
- New functionality is added in the null_blk and scsi_debug drivers to make it
easier to test the changes introduced by this patch series.
Please consider this patch series for the next merge window.
Before we're doing yet another round here, have you checked whether
the patchset from Yu Kuai ("PATCH RFC v2 00/10: block: fix disordered IO
in the case of recurse split") does help in your case, too?
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich