On Mon, 22 Nov 2021 15:12:23 +0900, Shin'ichiro Kawasaki wrote: > When reset write pointer is requested to scsi_debug devices with zoned > model, positions of write pointers are reset, but the data in the target > zones are not cleared. Read to the zones returns data written before the > reset write pointer. This unexpected left data is confusing and does not > allow using scsi_debug for stale page cache test of the BLKRESETZONE > ioctl. Hence, zero clear the written data in the zones at reset write > pointer. > > [...] Applied to 5.16/scsi-fixes, thanks! [1/1] scsi: scsi_debug: Zero clear zones at reset write pointer https://git.kernel.org/mkp/scsi/c/2d62253eb1b6 -- Martin K. Petersen Oracle Linux Engineering