[ovs-dev] [PATCH] ovsdb-server: Drop unnecessary find_db() function.

Ben Pfaff blp at ovn.org
Wed Mar 29 18:22:33 UTC 2017


On Mon, Mar 20, 2017 at 12:44:47PM -0700, Andy Zhou wrote:
> On Mon, Mar 20, 2017 at 10:50 AM, Ben Pfaff <blp at ovn.org> wrote:
> > 'all_dbs' maps from a schema name to its struct db, so there's no need to
> > iterate the whole thing to find a database by schema name; instead, just
> > use the shash in the usual way.
> >
> > Also, avoid trying too hard in ovsdb_replication_init() in a similar way.
> >
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> 
> Acked-by: Andy Zhou <azhou at ovn.org>>

Thanks, applied to master.


More information about the dev mailing list