[ovs-dev] [PATCH] ovsdb-server: fix monitor counters reported by memory/show

Andy Zhou azhou at ovn.org
Fri Feb 5 22:04:49 UTC 2016


On Fri, Feb 5, 2016 at 11:02 AM, Ben Pfaff <blp at ovn.org> wrote:

> On Wed, Feb 03, 2016 at 09:35:36PM -0800, Andy Zhou wrote:
> > Commit 4c2809787cdbc774 (ovsdb-monitor: add json cache) introduced
> > an optimization that allows jsonrpc session to share monitors.
> > However, the memory/show implementation was not updated to match the
> > implementation; it still assumes that each jsonrpc session uses its
> > own monitor, thus are likely to over reporting the number.
> >
> > This patch fix the bug and reports the actual number of monitor used
> > by the ovsdb-server.
> >
> > Signed-off-by: Andy Zhou <azhou at ovn.org>
>
> Acked-by: Ben Pfaff <blp at ovn.org>
>
> Thanks for the review. Pushed to master.



More information about the dev mailing list