[lxc-devel] [PATCH 1/1] sleep 0.5s on reboot
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Nov 12 16:29:46 UTC 2015
Quoting Stéphane Graber (stgraber at ubuntu.com):
> On Thu, Nov 12, 2015 at 07:52:16AM +0000, Serge Hallyn wrote:
> > to give lxcfs' cgroup view time out.
>
> Where does that 500ms come from? is it guaranteed that the kernel or
> fuse will flush the cache by then?
I've set it in lxcfs: https://github.com/lxc/lxcfs/commit/f466a31e0a6e271a0458a1eddc8e4452e6a59f41
The default is 1s.
> Also, can't this be implemented as a hook? if so, we could just add this
> to the lxcfs config snippet, making this more self-contained.
Urgh. I suppose it could. If it were something other than reboot I would
have probably done so, but reboot seemed an ok place to wait half a sec.
More information about the lxc-devel
mailing list