Messages in this thread | | | Subject | Re: [PATCH] ATA over Ethernet driver for 2.6.10-rc3-bk11 | From | Alan Cox <> | Date | Wed, 22 Dec 2004 13:55:30 +0000 |
| |
On Mer, 2004-12-22 at 13:19, Ed L Cashin wrote: > Scott Feldman <sfeldma@pobox.com> writes: > > Is there a better way to handle errors than flooding the log? > > These errors haven't happened much, but if they did, I'd want > everybody to know. Would you suggest a per-device counter to limit > how many times this message gets printed?
And a sensible KERN_ level like KERN_WARNING. KERN_CRIT is used when something catastrophic just occurred and the box is as good as defunct. Take a look at "net_ratelimit()"
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |