[ovs-git] [openvswitch/ovs] fa1663: ovsdb: Fix time in log traces when compacting data...

GitHub noreply at github.com
Wed Mar 7 18:11:34 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: fa1663174929108fe37b089626f0077962f68a15
      https://github.com/openvswitch/ovs/commit/fa1663174929108fe37b089626f0077962f68a15
  Author: Daniel Alvarez <dalvarez at redhat.com>
  Date:   2018-03-07 (Wed, 07 Mar 2018)

  Changed paths:
    M ovsdb/file.c

  Log Message:
  -----------
  ovsdb: Fix time in log traces when compacting database

Current code is mixing wall and monotonic clocks and the traces are not
useful since the timestamps are not accurate. This patch fixes it by
using the same time reference for the log as used in the code.

Without this patch, the traces look like this:
compacting database online (1519124364.908 seconds old, 951 transactions)

Signed-off-by: Daniel Alvarez <dalvarez at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list