]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] fix aic7xxx performance issues since 2.6.12-rc2
authorJames Bottomley <James.Bottomley@steeleye.com>
Thu, 4 Aug 2005 18:28:40 +0000 (13:28 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 4 Aug 2005 18:38:59 +0000 (13:38 -0500)
commitcd9f65bddd01904d5145402def8531190834ff67
tree884d14e8c9954e438a6c3602fcecbc5d13645cb5
parentcce1b2fd1e8d82dcba433cd587dc945263d7217c
[SCSI] fix aic7xxx performance issues since 2.6.12-rc2

Several people noticed we dropped quite a bit on benchmark figures.
OK, it was my fault but unfortunately I discovered I ran out of brown
paper bags a while ago and forgot to reorder them.

The issue is that a construct introduced in the conversion of the
driver to use the transport class keyed off whether the block request
was tagged or not.  However, the aic7xxx driver doesn't properly set
up the block layer TCQ (it uses the wrong API), so the driver now
things all requests are untagged and we keep it to a queue depth of a
single element.  Oops.

The fix is to use the correct TCQ API.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic7xxx_osm.c