[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190702053620.b7phijsgrhouoxxn@x220t>
Date: Tue, 2 Jul 2019 01:36:47 -0400
From: Alexander Aring <aring@...atatu.com>
To: Matteo Croce <mcroce@...hat.com>
Cc: netdev@...r.kernel.org, Nicolas Dichtel <nicolas.dichtel@...nd.com>
Subject: Re: [RFC iproute2] netns: add mounting state file for each netns
Hi Matteo,
On Sun, Jun 30, 2019 at 09:29:33PM +0200, Matteo Croce wrote:
> When ip creates a netns, there is a small time interval between the
> placeholder file creation in NETNS_RUN_DIR and the bind mount from /proc.
>
> Add a temporary file named .mounting-$netns which gets deleted after the
> bind mount, so watching for delete event matching the .mounting-* name
> will notify watchers only after the bind mount has been done.
>
> Signed-off-by: Matteo Croce <mcroce@...hat.com>
thanks for working on it and making my mess better!
Would be nice to have it upstream.
- Alex
Powered by blists - more mailing lists