aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorShin'ichiro Kawasaki <[email protected]>2021-11-22 06:12:23 +0000
committerMartin K. Petersen <[email protected]>2021-11-23 03:27:51 +0000
commit2d62253eb1b60f4ce8b39125eee282739b519297 (patch)
treebd399cdabc03d93179c6db9b85e1609af76440a5 /tools/perf/util/scripting-engines/trace-event-perl.c
parentscsi: core: sysfs: Fix setting device state to SDEV_RUNNING (diff)
downloadkernel-2d62253eb1b60f4ce8b39125eee282739b519297.tar.gz
kernel-2d62253eb1b60f4ce8b39125eee282739b519297.zip
scsi: scsi_debug: Zero clear zones at reset write pointer
When a reset is requested the position of the write pointer is updated but the data in the corresponding zone is not cleared. Instead scsi_debug returns any data written before the write pointer was reset. This is an error and prevents using scsi_debug for stale page cache testing of the BLKRESETZONE ioctl. Zero written data in the zone when resetting the write pointer. Link: https://lore.kernel.org/r/[email protected] Fixes: f0d1cf9378bd ("scsi: scsi_debug: Add ZBC zone commands") Reviewed-by: Damien Le Moal <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: Shin'ichiro Kawasaki <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions