diff options
| author | Bart Van Assche <[email protected]> | 2021-10-07 13:27:56 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-10-16 21:28:43 -0400 |
| commit | bf23e619039d360d503b7282d030daf2277a5d47 (patch) | |
| tree | 38e84bf6768eb1d613c595ea61cb2cdc0ede34de /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9131bff6a9f1d4c6ab2d4673974a9659d8d24dc7 (diff) | |
scsi: core: Use a structure member to track the SCSI command submitter
Conditional statements are faster than indirect calls. Use a structure
member to track the SCSI command submitter such that later patches can call
scsi_done(scmd) instead of scmd->scsi_done(scmd).
The asymmetric behavior that scsi_send_eh_cmnd() sets the submission
context to the SCSI error handler and that it does not restore the
submission context to the SCSI core is retained.
Link: https://lore.kernel.org/r/[email protected]
Cc: Hannes Reinecke <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Reviewed-by: Benjamin Block <[email protected]>
Reviewed-by: Bean Huo <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions