aic7xxx: Adjust .max_sectors
Subsystems (2)
Hi James,
the aic7xxx drivers do not set .max_sectors, and hence defaults to 512kB. The adaptec sources indicate that it in realiter can handle up to 4MB, so there is no reason not to adjust it.
Please apply,
Hannes
Signature · 4 lines
Dr. Hannes Reinecke [email protected] SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de
aic7xxx: Adjust .max_sectors
According to the adaptec sources aic7xxx / aic79xx really can do 4MB transfers. So we should adjust .max_sectors.
Signed-off-by Hannes Reinecke <[email protected]>
drivers/scsi/aic7xxx/aic79xx_osm.c +1 -0
@@ -773,6 +773,7 @@ #if defined(__i386__)#endif .can_queue = AHD_MAX_QUEUE, .this_id = -1, + .max_sectors = 8192, .cmd_per_lun = 2, .use_clustering = ENABLE_CLUSTERING, .slave_alloc = ahd_linux_slave_alloc,
drivers/scsi/aic7xxx/aic7xxx_osm.c +1 -0
@@ -777,6 +777,7 @@ #if defined(__i386__)#endif .can_queue = AHC_MAX_QUEUE, .this_id = -1, + .max_sectors = 8192, .cmd_per_lun = 2, .use_clustering = ENABLE_CLUSTERING, .slave_alloc = ahc_linux_slave_alloc,