aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2013-09-18 21:27:25 +0900
committerJames Bottomley <JBottomley@Parallels.com>2013-10-25 09:58:11 +0100
commitbb8c063c6afcd930b8da944927144f2982609638 (patch)
tree2c056f02c74ac1965bd61b4d132c642782b4d7c5 /tools/perf/scripts/python/export-to-postgresql.py
parent[SCSI] scsi_debug: fix buffer overrun when DIF/DIX is enabled and virtual_gb > 0 (diff)
downloadlinux-dev-bb8c063c6afcd930b8da944927144f2982609638.tar.xz
linux-dev-bb8c063c6afcd930b8da944927144f2982609638.zip
[SCSI] scsi_debug: factor out copying PI from dif_storep to prot_sglist
If data integrity support is enabled, prot_verify_read() is called in response to READ commands and it verifies protection info from dif_storep by comparing against fake_storep, and copies protection info to prot_sglist. This factors out the portion of copying protection info into a separate function. It will also be reused in the next change after supporting the opposite direction (copying prot_sglist to dif_storep). Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions