diff options
| author | Mike Christie <michael.christie@oracle.com> | 2022-06-16 17:45:57 -0500 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-06-21 21:19:23 -0400 |
| commit | 6e637b723d8277cac4d347ea671ab798b70d8fc9 (patch) | |
| tree | e26b11105965a47d7dcdb3c71d8d650f20c11f14 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | scsi: iscsi: Try to avoid taking back_lock in xmit path (diff) | |
| download | linux-6e637b723d8277cac4d347ea671ab798b70d8fc9.tar.gz linux-6e637b723d8277cac4d347ea671ab798b70d8fc9.zip | |
scsi: libiscsi: Improve conn_send_pdu API
The conn_send_pdu API is evil in that it returns a pointer to an
iscsi_task, but that task might have been freed already so you can't touch
it. This patch splits the task allocation and transmission, so functions
like iscsi_send_nopout() can access the task before its sent and do
whatever bookkeeping is needed before it is sent.
Link: https://lore.kernel.org/r/20220616224557.115234-10-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
