• Mark Haverkamp's avatar
    [SCSI] aacraid: interupt mitigation · bed30de4
    Mark Haverkamp authored
    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: default avatarMark Haverkamp <markh@osdl.org>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    bed30de4
comminit.c 12.1 KB