hpsa: factor out hpsa_ciss_submit function
authorStephen Cameron <stephenmcameron@gmail.com>
Fri, 23 Jan 2015 22:43:20 +0000 (16:43 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:40 +0000 (09:57 -0800)
commit574f05d37484038caa989d457fa60c1db4e81683
tree604925fb0a806d93fbf6e73e6f389eca2957e6a6
parent7acf570ce51a5ebee55ef72e77916afdb4a351a7
hpsa: factor out hpsa_ciss_submit function

Factor out the bottom part of the queuecommand function
which is the part that builds commands for submitting down
the "normal' RAID stack path of a Smart Array.

Need to factor this out to improve how commands that
were initially sent down one of the "ioaccellerated"
paths but which have some sort of error condition are
retried down the "normal" path.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c