git: ahci - Reduce livelock warnings with ahci
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Apr 27 20:49:39 PDT 2019
commit 8f191e54bf9325b543c571e261e8da44ed5accf0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Apr 27 20:45:31 2019 -0700
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.
Summary of changes:
sys/dev/disk/ahci/ahci_attach.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8f191e54bf9325b543c571e261e8da44ed5accf0
--
DragonFly BSD source repository
More information about the Commits
mailing list