mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
ovs-vsctl: Fix performance problem.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "ovsdb-data.h"
|
||||
#include "ovsdb-error.h"
|
||||
#include "ovsdb-idl-provider.h"
|
||||
#include "poll-loop.h"
|
||||
#include "shash.h"
|
||||
#include "util.h"
|
||||
|
||||
@@ -800,6 +801,14 @@ ovsdb_idl_txn_destroy(struct ovsdb_idl_txn *txn)
|
||||
free(txn);
|
||||
}
|
||||
|
||||
void
|
||||
ovsdb_idl_txn_wait(const struct ovsdb_idl_txn *txn)
|
||||
{
|
||||
if (txn->status != TXN_INCOMPLETE) {
|
||||
poll_immediate_wake();
|
||||
}
|
||||
}
|
||||
|
||||
static struct json *
|
||||
where_uuid_equals(const struct uuid *uuid)
|
||||
{
|
||||
|
Reference in New Issue
Block a user