]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hpsa: add ioaccel sg chaining for the ioaccel2 path
authorWebb Scales <webbnh@hp.com>
Thu, 23 Apr 2015 14:33:27 +0000 (09:33 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:32:26 +0000 (11:32 -0700)
commitd9a729f3e4d23d4fe8ca458d88d7b982ad3a1600
tree2d6c2bc36b0ee7239ba1ac4341bb37fb8f117bf1
parent1fb7c98aa41b98da6713923d4872e21ce68dd000
hpsa: add ioaccel sg chaining for the ioaccel2 path

Increase the request size for ioaccel2 path.

The error, if any, returned by hpsa_allocate_ioaccel2_sg_chain_blocks
to hpsa_alloc_ioaccel2_cmd_and_bft should be returned upstream rather
than assumed to be -ENOMEM.

This differs slightly from hpsa_alloc_ioaccel1_cmd_and_bft,
which does not call another hpsa_allocate function and only
has -ENOMEM to return from some kmalloc calls.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Signed-off-by: Robert Elliott <elliott@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>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h