diff options
| author | Bart Van Assche <[email protected]> | 2018-06-22 14:53:00 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-07-02 16:44:31 -0400 |
| commit | ed88f055788a89598c33d183652af8a84dfc5007 (patch) | |
| tree | d0b245c4755efca0d31c7968b18a8fa4059c5136 /tools/perf/scripts/python | |
| parent | 7b2cc7dc0dbf5da9cf16ffcf1ca8e904ab574ff5 (diff) | |
scsi: target/iscsi: Reduce number of __iscsit_free_cmd() callers
Instead of calling __iscsit_free_cmd() from inside iscsit_aborted_task() if
a command has been aborted and from inside iscsit_free_cmd() if a command
has not been aborted, call __iscsit_free_cmd() from inside
lio_release_cmd(). The latter function is namely called for all commands
once the reference count has dropped to zero.
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Cc: Varun Prakash <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions