diff options
| author | Akinobu Mita <[email protected]> | 2013-09-18 21:27:25 +0900 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2013-10-25 09:58:11 +0100 |
| commit | bb8c063c6afcd930b8da944927144f2982609638 (patch) | |
| tree | 2c056f02c74ac1965bd61b4d132c642782b4d7c5 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 14faa944b6fa4c77a6f386806c33ce2c3c77b3a4 (diff) | |
[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 <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions