idl: Optionally warn when writing to read-write columns.
authorEthan Jackson <ethan@nicira.com>
Thu, 20 Sep 2012 18:13:15 +0000 (11:13 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 28 Sep 2012 00:23:17 +0000 (17:23 -0700)
commit8cdec7256967ce4d9abd7aa55778181b6fa3bae8
tree2c62de69b7315986186ef4bfa7d41ac6e79d7fc0
parent3b4c362f4078549d9a3bf18a2393e12e4b3ff9f7
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>
lib/ovsdb-idl.c
lib/ovsdb-idl.h
vswitchd/bridge.c