[ovs-git] [openvswitch/ovs] be95cc: ovsdb: Fix time in log traces when compacting data...
noreply at github.com
Wed Mar 7 18:11:11 UTC 2018
Author: Daniel Alvarez <dalvarez at redhat.com>
Date: 2018-03-07 (Wed, 07 Mar 2018)
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