diff options
| author | Nicholas Bellinger <[email protected]> | 2017-06-03 06:55:50 -0700 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2017-07-06 22:57:56 -0700 |
| commit | 5465e7d3b99bbaa823ae4f8e538543e7d6cdc530 (patch) | |
| tree | 7ab2a72489d5e29ef9da27181edabc5190713093 /tools/perf/scripts/python | |
| parent | eeb64d239ea664592ff8f1bce5546209a6593df5 (diff) | |
target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support for ABORT_TASK
This patch introduces support in target_submit_tmr() for locating a
unpacked_lun from an existing se_cmd->tag during ABORT_TASK.
When TARGET_SCF_LOOKUP_LUN_FROM_TAG is set, target_submit_tmr()
will do the extra lookup via target_lookup_lun_from_tag() and
subsequently invoke transport_lookup_tmr_lun() so a proper
percpu se_lun->lun_ref is taken before workqueue dispatch into
se_device->tmr_wq happens.
Aside from the extra target_lookup_lun_from_tag(), the existing
code-path remains unchanged.
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: Quinn Tran <[email protected]>
Cc: Mike Christie <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions