[ovs-dev] [PATCH v2] vswitch: ratelimit the device add log

Ben Pfaff blp at ovn.org
Mon Sep 23 22:30:13 UTC 2019


On Mon, Sep 16, 2019 at 11:16:57AM -0400, Aaron Conole wrote:
> It's possible that a port added to the system with certain kinds
> of invalid parameters will cause the 'could not add' log to be
> triggered.  When this happens, the vswitch run loop can continually
> re-attempt adding the port.  While the parameters remain invalid
> the vswitch run loop will re-trigger the warning, flooding the
> syslog.
> 
> This patch adds a simple rate limit to the log.
> 
> Signed-off-by: Aaron Conole <aconole at redhat.com>
> ---
> v2: set errp

Thanks, Aaron (and William).  I applied this to master.


More information about the dev mailing list