Re: [PATCH] ATA over Ethernet driver for 2.6.10-rc3-bk11
From: Alan Cox
Date: Wed Dec 22 2004 - 10:02:00 EST
On Mer, 2004-12-22 at 13:19, Ed L Cashin wrote:
> Scott Feldman <sfeldma@xxxxxxxxx> 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()"
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/