[Devel] [PATCH] ve: don't call shutdown hook for now

2017-10-02 Thread Stanislav Kinsburskiy
This hook is needed only for releaseing venet IP address early (thus allowing to restart container with the same IP faster). But mount are destroyed asynchroniosly, and thus NFS mount can be destroyed after IP address is dropped. Let's fir this race it the way how all the world does things: release

Re: [Devel] [PATCH] ve: don't call shutdown hook for now

2017-10-02 Thread Andrei Vagin
On Mon, Oct 02, 2017 at 06:47:19PM +0400, Stanislav Kinsburskiy wrote: > This hook is needed only for releaseing venet IP address early (thus allowing > to restart container with the same IP faster). > But mount are destroyed asynchroniosly, and thus NFS mount can be destroyed > after IP address is

Re: [Devel] [PATCH] ve: don't call shutdown hook for now

2017-10-02 Thread Stanislav Kinsburskiy
It was me. The reason is explained in the patch description (you can find more details in description of the commit, introduced the hook). I'm waiting for khorenko@ to convince him, that the idea to "podkovat' blohy" was wrong by design and we should drop the hook. Once I succeed, I'll sent appro