ahci - Reduce livelock warnings with ahci
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Apr 2019 03:45:31 +0000 (20:45 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Apr 2019 03:45:31 +0000 (20:45 -0700)
commit8f191e54bf9325b543c571e261e8da44ed5accf0
treeb321af065926db94d0fbfa3f8c03b3c37dc2aebb
parent130ca7093e9699c2a9d492fc49844af714942589
ahci - Reduce livelock warnings with ahci

* Mark the ahci (sata) interrupt as HIFREQ to avoid triggering
  livelock warnings.

* Very high interrupt rates are possible with modern SSDs.  We
  don't use the AHCI chipset's interrupt rate moderation features
  because they are a bit problematic (often implemented via an
  unconditional delay even for single commands, for example).

  By flagging the interrupt as HIFREQ, the livelock code will
  trigger at kern.livelock_limit_hi instead of kern.livelock_limit.
sys/dev/disk/ahci/ahci_attach.c