aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/interrupt.h
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2007-04-19 01:24:32 +0000
committerNate Lawson <njl@FreeBSD.org>2007-04-19 01:24:32 +0000
commit0ae62c18a07d9d8eff31f40711ecba714ab0be4f (patch)
tree84f1ee3016082bccb71d48b560e137c6b693c00e /sys/sys/interrupt.h
parent2ea42282145900918d4e2cfbaf22ac4ce9fc37b5 (diff)
downloadsrc-0ae62c18a07d9d8eff31f40711ecba714ab0be4f.tar.gz
src-0ae62c18a07d9d8eff31f40711ecba714ab0be4f.zip
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
Notes
Notes: svn path=/head/; revision=168850
Diffstat (limited to 'sys/sys/interrupt.h')
-rw-r--r--sys/sys/interrupt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h
index cfbb28f39034..9ca87d292ba4 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. */