]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
[SCSI] hpsa: set max sectors instead of taking the default
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Wed, 26 Oct 2011 21:20:53 +0000 (16:20 -0500)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 07:58:07 +0000 (15:58 +0800)
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>
(cherry picked from commit c0d6a4d17b3848750b0285861b7a807811a0cfa6)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c

index 93a8e3758c3918d70de9c5cb8d5f866ddd8871bb..9a7baacf51bb17563eb6afbb0a2cf832ea67f924 100644 (file)
@@ -509,6 +509,7 @@ static struct scsi_host_template hpsa_driver_template = {
 #endif
        .sdev_attrs = hpsa_sdev_attrs,
        .shost_attrs = hpsa_shost_attrs,
+       .max_sectors = 8192,
 };