[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)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 30 Oct 2011 10:09:24 +0000 (14:09 +0400)
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>
drivers/scsi/hpsa.c

index 9825ecf..43a882b 100644 (file)
@@ -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,
 };