aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTyrel Datwyler <tyreld@linux.ibm.com>2020-11-17 19:10:59 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2020-11-19 22:09:10 -0500
commitfad74a1be2dbeae02d71e072418eeb307ce46103 (patch)
tree5ae2a9b321218d8152f0911ba652fe260a49e827 /tools/perf/scripts/python/export-to-postgresql.py
parentscsi: ibmvfc: Use correlation token to tag commands (diff)
downloadlinux-fad74a1be2dbeae02d71e072418eeb307ce46103.tar.gz
linux-fad74a1be2dbeae02d71e072418eeb307ce46103.zip
scsi: ibmvfc: Deduplicate common ibmvfc_cmd init code
The virtual FC frame command exchanged with the VIOS is used for device reset and command abort TMF as well as normally queued commands. When initializing the ibmvfc_cmd there are several elements of the command that are set the same way regardless of the command type. Deduplicate code by moving these commonally set fields into a initialization helper routine, namely ibmvfc_init_vfc_cmd(). Link: https://lore.kernel.org/r/20201118011104.296999-2-tyreld@linux.ibm.com Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions