diff options
author | njl <njl@FreeBSD.org> | 2007-04-19 01:24:32 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2007-04-19 01:24:32 +0000 |
commit | 95e9f5610b146de8c256d5b3b928a80f3cfcf46d (patch) | |
tree | 84f1ee3016082bccb71d48b560e137c6b693c00e /sys/sys/interrupt.h | |
parent | 021deab651b9dfe702f6782a0cd84160cfde4879 (diff) | |
download | FreeBSD-src-95e9f5610b146de8c256d5b3b928a80f3cfcf46d.zip FreeBSD-src-95e9f5610b146de8c256d5b3b928a80f3cfcf46d.tar.gz |
Bump the interrupt storm detection counter to 1000. My slow fileserver
gets a bogus irq storm detected when periodic daily kicks off at 3 am
and disconnects the disk. Change the print logic to print once per second
when the storm is occurring instead of only once. Otherwise, it appeared
that something else was causing the errors each night at 3 am since the
print only occurred the first time.
Reviewed by: jhb
MFC after: 1 week
Diffstat (limited to 'sys/sys/interrupt.h')
-rw-r--r-- | sys/sys/interrupt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h index cfbb28f..9ca87d2 100644 --- a/sys/sys/interrupt.h +++ b/sys/sys/interrupt.h @@ -74,7 +74,8 @@ struct intr_event { void (*ie_enable)(void *); int ie_flags; int ie_count; /* Loop counter. */ - int ie_warned; /* Warned about interrupt storm. */ + int ie_warncnt; /* Rate-check interrupt storm warns. */ + struct timeval ie_warntm; }; /* Interrupt event flags kept in ie_flags. */ |