From: Stephen M. Cameron Date: Wed, 26 Oct 2011 21:20:53 +0000 (-0500) Subject: [SCSI] hpsa: set max sectors instead of taking the default X-Git-Tag: v2.6.39-400.9.0~423^2~19^2~11^2~722 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9faff4cf07ee0dc548225d90febde76515198c77;p=users%2Fjedix%2Flinux-maple.git [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 Signed-off-by: James Bottomley (cherry picked from commit c0d6a4d17b3848750b0285861b7a807811a0cfa6) Signed-off-by: Joe Jin --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 93a8e3758c39..9a7baacf51bb 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -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, };