]> bbs.cooldavid.org Git - net-next-2.6.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)
commitfdd0edf2aca72e374d10e7a0957a006f18bffaf4
tree884d14e8c9954e438a6c3602fcecbc5d13645cb5
parent84e66ee7ec7aaa789945403b7cbde7a0b08c15ef
[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