aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorWebb Scales <webbnh@hp.com>2015-04-23 09:34:27 -0500
committerJames Bottomley <JBottomley@Odin.com>2015-05-31 11:38:41 -0700
commitb3a7ba7c942ccac8340a93b2bac2254480b1615f (patch)
tree23a581316380d1a7610125a943e1e420f753fad1 /fs
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 <scott.teel@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Hannes Reinecke <hare@Suse.de> Signed-off-by: Webb Scales <webbnh@hp.com> Signed-off-by: Don Brace <don.brace@pmcs.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions