aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorFrank Mayhar <[email protected]>2020-02-27 14:59:45 -0500
committerMartin K. Petersen <[email protected]>2020-03-11 23:07:57 -0400
commitcc6b32ee3b914d3036a4d364fd4918b48fc034eb (patch)
tree2eaf6fed23b2af71f1970461eb213757de6d2a21 /tools/perf/scripts
parentbef18d308a2215eff8c3411a23d7f34604ce56c3 (diff)
scsi: iscsi: Add support for asynchronous iSCSI session destruction
iSCSI session destruction can be arbitrarily slow, since it might require network operations and serialization inside the SCSI layer. This patch adds a new user event to trigger the destruction work asynchronously, releasing the rx_queue_mutex as soon as the operation is queued and before it is performed. This change allows other operations to run in other sessions in the meantime, removing one of the major iSCSI bottlenecks for us. To prevent the session from being used after the destruction request, we remove it immediately from the sesslist. This simplifies the locking required during the asynchronous removal. Link: https://lore.kernel.org/r/[email protected] Co-developed-by: Gabriel Krisman Bertazi <[email protected]> Co-developed-by: Khazhismel Kumykov <[email protected]> Reviewed-by: Lee Duncan <[email protected]> Signed-off-by: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Frank Mayhar <[email protected]> Signed-off-by: Khazhismel Kumykov <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions