From: Darrick J. Wong Date: Wed, 30 Aug 2006 21:18:33 +0000 (-0700) Subject: [SCSI] aic94xx: Increase can_queue for better performance X-Git-Tag: v2.6.19-rc1~1266^2~19^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19eaa7f53736449a6eac89c3863eca2c64d5913;p=pandora-kernel.git [SCSI] aic94xx: Increase can_queue for better performance This patch sets can_queue in the aic94xx driver's scsi_host to better performing values than what's there currently. It seems that asd_ha->seq.can_queue reflects the number of requests that can be queued per controller; so long as there's one scsi_host per controller, it seems logical that the scsi_host ought to have the same can_queue value. To the best of my (still limited) knowledge, this method provides the correct value. The effect of leaving this value set to 1 is terrible performance in the case of either (a) certain Maxtor SAS drives flying solo or (b) flooding several disks with I/O simultaneously (md-raid). There may be more scenarios where we see similar problems that I haven't uncovered. Signed-off-by: Darrick J. Wong Signed-off-by: James Bottomley --- Reading git-diff-tree failed