• Mark Lord's avatar
    sata_mv: implement IRQ coalescing (v2) · 2b748a0a
    Mark Lord authored
    Add IRQ coalescing to sata_mv (off by default).
    
    This feature can reduce total interrupt overhead for RAID setups
    in some situations, by deferring the interrupt signal until one or both of:
    
     a) a specified io_count (completed SATA commands) is achieved, or
     b) a specified time interval elapses after an IO completion.
    
    For now, module parameters are used to set the irq_coalescing_io_count
    and irq_coalescing_usecs (timeout) globally.  These may eventually
    be supplemented with sysfs attributes, so that thresholds can be set
    on-the-fly and on a per-chip (or even per-host_controller) basis.
    Signed-off-by: default avatarMark Lord <mlord@pobox.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    2b748a0a
sata_mv.c 110 KB