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

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


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: be95cc00791c011daad442efc1cd7486ca58023d
      https://github.com/openvswitch/ovs/commit/be95cc00791c011daad442efc1cd7486ca58023d
  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