aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorWebb Scales <[email protected]>2015-04-23 09:34:27 -0500
committerJames Bottomley <[email protected]>2015-05-31 11:38:41 -0700
commitb3a7ba7c942ccac8340a93b2bac2254480b1615f (patch)
tree23a581316380d1a7610125a943e1e420f753fad1 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentb69324ff93127b1a2042612ff2aa95b42af873a0 (diff)
hpsa: performance tweak for hpsa_scatter_gather()
Divide the loop in hpsa_scatter_gather() into two, one for the initial SG list and a second one for the chained list, if any. This allows the conditional check which resets the indicies for the chained list to be performed outside the loop instead of being done on every iteration inside the loop. Reviewed-by: Scott Teel <[email protected]> Reviewed-by: Kevin Barnett <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Webb Scales <[email protected]> Signed-off-by: Don Brace <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions