diff options
author | David Disseldorp <[email protected]> | 2020-03-27 15:19:52 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-03-29 18:10:59 -0400 |
commit | 0ad08996da05b6b735d4963dceab7d2a4043607c (patch) | |
tree | d8c812da2732e13429e491c779e0f82a9a97e847 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 267fc83f8836ad6168ed264a0823543439abb3be (diff) |
scsi: target: avoid per-loop XCOPY buffer allocations
The main target_xcopy_do_work() loop unnecessarily allocates an I/O buffer
with each synchronous READ / WRITE pair. This commit significantly reduces
allocations by reusing the XCOPY I/O buffer when possible.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: David Disseldorp <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions