]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aacraid: interupt mitigation
authorMark Haverkamp <markh@osdl.org>
Wed, 3 Aug 2005 22:38:51 +0000 (15:38 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 5 Aug 2005 21:49:46 +0000 (16:49 -0500)
commit01289c319c524595d325d731d5cb0948c7794124
tree1dd29e4f8ae3122d8cc642523a6f0cd2ca70bfd3
parent9e2013a100323faa9a3e37585c4df08da7aad06c
[SCSI] aacraid: interupt mitigation

Received from Mark Salyzyn from Adaptec:

If more than two commands are outstanding to the controller, there is no
need to notify the adapter via a PCI bus transaction of additional
commands added into the queue; it will get to them when it works through
the produce/consumer indexes.

This reduced the PCI traffic in the driver to submit a command to the
queue to near zero allowing a significant number of commands to be
turned around with no need to block for the PCI bridge to flush the
notify request to the adapter.

Interrupt mitigation has always been present in the driver; it was
turned off because of a bug that prevented one from realizing the
usefulness of the feature. This bug is fixed in this patch.

Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/comminit.c
drivers/scsi/aacraid/commsup.c