[ovs-dev] [PATCH v2 0/4] ovn-controller: Replace incremental processing with quiet mode

Ryan Moats rmoats at us.ibm.com
Wed Aug 31 15:22:42 UTC 2016


This patch set removes incremental processing and replaces it
with quiet mode: ovn-controller first tests to see if recalculation
is necessary and if so, does a full calculation.

Side effect of this is that almost all data persistence is also reverted.
The exception is the persistence in the encaps.c module - it's not clear
how to revert that while still maintaining 100% unit test pass.

v1->v2:
  removed poll_immediate_wake() from encaps.c that will lead to
  ovn-controller pegging a cpu.

Ryan Moats (4):
  ovn-controller: Back out incremental processing
  ovn-controller: add quiet mode
  Unpersist data structures for address sets.
  ovn-controller: Convert encaps module back to full processing

 include/ovn/actions.h           |   4 -
 ovn/controller/binding.c        | 154 ++----------------
 ovn/controller/binding.h        |   1 -
 ovn/controller/encaps.c         | 144 +++++++---------
 ovn/controller/lflow.c          | 258 +++++++----------------------
 ovn/controller/lflow.h          |   4 +-
 ovn/controller/lport.c          | 220 ++++---------------------
 ovn/controller/lport.h          |  24 +--
 ovn/controller/ofctrl.c         | 353 +++++++++++-----------------------------
 ovn/controller/ofctrl.h         |  16 +-
 ovn/controller/ovn-controller.c | 106 ++++++++----
 ovn/controller/ovn-controller.h |   1 +
 ovn/controller/patch.c          |  17 +-
 ovn/controller/physical.c       | 263 +++++++++++-------------------
 ovn/controller/physical.h       |   8 +-
 ovn/lib/actions.c               |   1 -
 ovn/lib/expr.c                  |   1 +
 tests/ovn.at                    |  55 +++++++
 tests/system-ovn.at             |  45 ++---
 19 files changed, 548 insertions(+), 1127 deletions(-)

-- 
2.7.4




More information about the dev mailing list