summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-08-31 09:44:57 +0300
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-09 22:13:25 -0400
commita09d77bcbe22db1a0b89f18d0a70074bb2453bc4 (patch)
tree5c99e02d0ae718371d550f0132cf838875480f24 /tools/perf/scripts/python/parallel-perf.py
parent9bf8a2050693fc052642052c3991079d44e65643 (diff)
downloadlinux-next-a09d77bcbe22db1a0b89f18d0a70074bb2453bc4.tar.gz
linux-next-a09d77bcbe22db1a0b89f18d0a70074bb2453bc4.zip
scsi: scsi_debug: Add support to corrupt data and/or reftag
Add a new debugfs file to inject corruptions of the data and/or reftag. This will be used to detect that protection information and/or file system checksumming can detect random bit errors or misplaced writes. To use this echo the start LBA, number of logical blocks and type of corruption into the new "corrupt" debugfs file for each scsi_debug device. For example: echo lba=42,num=1,bit_errors=2 > /sys/kernel/debug/scsi_debug/1:0:0:0/corrupt or echo lba=2,num=4,reftag_adjust=8 > /sys/kernel/debug/scsi_debug/1:0:0:0/corrupt The injection will be used by new xfstests test cases. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20260831064500.2576832-2-hch@lst.de Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions