summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-10-27 01:20:53 +0400
committerJames Bottomley <JBottomley@Parallels.com>2011-10-30 14:09:24 +0400
commitc0d6a4d17b3848750b0285861b7a807811a0cfa6 (patch)
tree402d6607e8e48f037e4a0891dbf2f881e60a3805 /drivers/scsi
parentd424754cbe97fe581985dca4400347cb275d7eb2 (diff)
downloadlinux-c0d6a4d17b3848750b0285861b7a807811a0cfa6.tar.xz
[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 'drivers/scsi')
-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,
};