diff options
author | Vitaly Kuznetsov <[email protected]> | 2015-10-01 14:53:17 -0700 |
---|---|---|
committer | James Bottomley <[email protected]> | 2015-11-09 16:26:43 -0800 |
commit | 81988a0e6b031bc80da15257201810ddcf989e64 (patch) | |
tree | e247946d2e7922bca1565086e66497315e6d2841 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8cf308e1225f5f93575f03cc4dbef24516fa81c9 (diff) |
storvsc: get rid of bounce buffer
Storvsc driver needs to ensure there are no 'holes' in the presented
sg list (all segments in the middle of the list need to be of PAGE_SIZE).
When a hole is detected storvsc driver creates a 'bounce sgl' without
holes and copies data over with copy_{to,from}_bounce_buffer() functions.
Setting virt_boundary_mask to PAGE_SIZE - 1 guarantees we'll never see
such holes so we can significantly simplify the driver. This is also
supposed to bring us some performance improvement for certain workloads
as we eliminate copying.
Reported-by: Radim Krčmář <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: K. Y. Srinivasan <[email protected]>
Tested-by: Alex Ng <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions