summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-10-26 23:20:53 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-10-30 11:09:24 +0100
commitc0d6a4d17b3848750b0285861b7a807811a0cfa6 (patch)
tree402d6607e8e48f037e4a0891dbf2f881e60a3805 /drivers/scsi/hpsa.c
parent[SCSI] qla2xxx: Correct inadvertent clearing of RISC_INTR status. (diff)
downloadlinux-c0d6a4d17b3848750b0285861b7a807811a0cfa6.tar.xz
linux-c0d6a4d17b3848750b0285861b7a807811a0cfa6.zip
[SCSI] hpsa: set max sectors instead of taking the default
Set the max hardware sectors in the SCSI host template to 8192 to allow for larger i/o's (8192 is the same limit the cciss driver currently has.) Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to '')
-rw-r--r--drivers/scsi/hpsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 9825ecf34957..43a882bc751d 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -484,6 +484,7 @@ static struct scsi_host_template hpsa_driver_template = {
#endif
.sdev_attrs = hpsa_sdev_attrs,
.shost_attrs = hpsa_shost_attrs,
+ .max_sectors = 8192,
};