From: Alexander Aring <aring@mojatatu.com>
To: Matteo Croce <mcroce@redhat.com>
Cc: netdev@vger.kernel.org, Nicolas Dichtel <nicolas.dichtel@6wind.com>
Subject: Re: [RFC iproute2] netns: add mounting state file for each netns
Date: Tue, 2 Jul 2019 01:36:47 -0400 [thread overview]
Message-ID: <20190702053620.b7phijsgrhouoxxn@x220t> (raw)
In-Reply-To: <20190630192933.30743-1-mcroce@redhat.com>
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@redhat.com>
thanks for working on it and making my mess better!
Would be nice to have it upstream.
- Alex
next prev parent reply other threads:[~2019-07-02 5:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-30 19:29 [RFC iproute2] netns: add mounting state file for each netns Matteo Croce
2019-07-01 12:38 ` Nicolas Dichtel
2019-07-01 13:50 ` Matteo Croce
2019-07-01 14:17 ` Nicolas Dichtel
2019-07-02 5:36 ` Alexander Aring [this message]
2019-07-03 0:41 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190702053620.b7phijsgrhouoxxn@x220t \
--to=aring@mojatatu.com \
--cc=mcroce@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox