aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorSuganath Prabu Subramani <[email protected]>2018-01-04 04:57:11 -0800
committerMartin K. Petersen <[email protected]>2018-01-10 23:25:04 -0500
commitdbec4c9040edc15442c3ebdb65408aa9d3b82c24 (patch)
treec16a67c34afd4de7d64b7e180d83af1768394812 /tools/perf/util/c++/clang.cpp
parent272e253c7bcabfeef5f4d0aaed94a413e13e520f (diff)
scsi: mpt3sas: lockless command submission
Performance improvement using block layer tag. Curent driver gets scsiio tracker and free smid from link list and array based tracking managed by driver. Accessing list in main io path is performance pentaly because of protection using spinlock "scsi_lookup_lock". In this patch: 1. Driver removes all link list access from main io path and use scmd->request->tag to get free smid. 2. Instead of holding 'struct scsiio_tracker' in its own pool driver can embed it into the scsi command. Driver provides cmd_size in scsi_host_template, so that struct scsiio_tracker is preallocated by scsi mid layer for each scsi command. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Suganath Prabu S <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions