[ovs-git] [openvswitch/ovs] 1158f3: ovsdb-monitor: add ovsdb_monitor_changes

GitHub noreply at github.com
Sat May 30 00:49:29 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 1158f320622954f4027a35260916f6a950529c27
      https://github.com/openvswitch/ovs/commit/1158f320622954f4027a35260916f6a950529c27
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-05-29 (Fri, 29 May 2015)

  Changed paths:
    M ovsdb/jsonrpc-server.c
    M ovsdb/monitor.c

  Log Message:
  -----------
  ovsdb-monitor: add ovsdb_monitor_changes

Currently, each monitor table contains a single hmap 'changes' to
track updates. This patch introduces a new data structure
'ovsdb_monitor_changes' that stores the updates 'rows' tagged by
its first commit transaction id. Each 'ovsdb_monitor_changes' is
refenece counted allowing multiple jsonrpc_monitors to share them.

The next patch will allow each ovsdb monitor table to store a list
of 'ovsdb_monitor_changes'. This patch stores only one, same as
before.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 7e911055e657fa2a2af52f9fa3e7545055fa1f09
      https://github.com/openvswitch/ovs/commit/7e911055e657fa2a2af52f9fa3e7545055fa1f09
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-05-29 (Fri, 29 May 2015)

  Changed paths:
    M ovsdb/monitor.c

  Log Message:
  -----------
  ovsdb-monitor: allow multiple of 'ovsdb_monitor_changes' in each ovsdb monitor table

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/f1de87bb2f56...7e911055e657


More information about the git mailing list