Re: [ovs-dev] [PATCH] ovsdb: Correctly log time since last compaction.

2018-03-07 Thread Daniel Alvarez Sanchez
Ops! I think we sent it in the same minute. Thanks a lot Ben! :) On Wed, Mar 7, 2018 at 7:12 PM, Ben Pfaff wrote: > On Wed, Mar 07, 2018 at 10:01:59AM -0800, Ben Pfaff wrote: > > file->last_compact is initialized from time_msec() so the difference has > > to be computed relative

Re: [ovs-dev] [PATCH] ovsdb: Correctly log time since last compaction.

2018-03-07 Thread Ben Pfaff
On Wed, Mar 07, 2018 at 10:01:59AM -0800, Ben Pfaff wrote: > file->last_compact is initialized from time_msec() so the difference has > to be computed relative to that clock, not against wall clock time. > > This only affected the log message, not the decision about when to > compact. > >

[ovs-dev] [PATCH] ovsdb: Correctly log time since last compaction.

2018-03-07 Thread Ben Pfaff
file->last_compact is initialized from time_msec() so the difference has to be computed relative to that clock, not against wall clock time. This only affected the log message, not the decision about when to compact. Signed-off-by: Ben Pfaff Reported-by: Daniel Alvarez Sanchez