[Devel] [PATCH] ve: add ability to set offset for monotonic time

Cyrill Gorcunov gorcunov at odin.com
Mon Nov 30 07:35:28 PST 2015


On Mon, Nov 30, 2015 at 06:34:14PM +0300, Cyrill Gorcunov wrote:
> On Mon, Nov 30, 2015 at 07:16:08PM +0400, Andrew Vagin wrote:
> > Monotonic time can't be changed by users, can't go back and it starts with
> > zero when a kernel starts.
> > 
> > When we migrate a container on another host, we need to save consistancy
> > of monotonic time, so we have a per-ve offset.
> > 
> > This patch adds the ability to set this offset. When a container is
> > migrated, the value from ve.start_timespec on a source host should be
> > written in the same file on a destination host.
> > 
> > https://jira.sw.ru/browse/PSBM-41311?jql=text%20~%20%22of%20persia%22
> > 
> > Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> > Signed-off-by: Andrew Vagin <avagin at openvz.org>

Also, fwiw it might address https://jira.sw.ru/browse/PSBM-41406


More information about the Devel mailing list