mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
idl: Optionally warn when writing to read-write columns.
ovs-vswitchd should only write to write-only columns. Furthermore, writing to a column which is not write-only can cause serious performance degradations. This patch causes ovs-vswitchd to log and reject writes to read-write columns. Signed-off-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -57,6 +57,7 @@ bool ovsdb_idl_is_lock_contended(const struct ovsdb_idl *);
|
||||
unsigned int ovsdb_idl_get_seqno(const struct ovsdb_idl *);
|
||||
bool ovsdb_idl_has_ever_connected(const struct ovsdb_idl *);
|
||||
void ovsdb_idl_force_reconnect(struct ovsdb_idl *);
|
||||
void ovsdb_idl_verify_write_only(struct ovsdb_idl *);
|
||||
|
||||
/* Choosing columns and tables to replicate. */
|
||||
|
||||
|
Reference in New Issue
Block a user