summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-10-26 16:20:53 -0500
committerJames Bottomley <JBottomley@Parallels.com>2011-10-30 14:09:24 +0400
commitc0d6a4d17b3848750b0285861b7a807811a0cfa6 (patch)
tree402d6607e8e48f037e4a0891dbf2f881e60a3805 /drivers/scsi
parentd424754cbe97fe581985dca4400347cb275d7eb2 (diff)
downloadop-kernel-dev-c0d6a4d17b3848750b0285861b7a807811a0cfa6.zip
op-kernel-dev-c0d6a4d17b3848750b0285861b7a807811a0cfa6.tar.gz
[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 9825ecf..43a882b 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,
};
OpenPOWER on IntegriCloud