From: Andrew Morton <akpm@linux-foundation.org>
To: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Pavel Emelyanov <xemul@parallels.com>,
Andrey Vagin <avagin@openvz.org>,
linux-kernel@vger.kernel.org, criu@openvz.org,
Al Viro <viro@zeniv.linux.org.uk>,
Oleg Nesterov <oleg@redhat.com>
Subject: Re: [PATCH] proc: show mnt_id in fdinfo files
Date: Wed, 19 Mar 2014 16:22:25 -0700 [thread overview]
Message-ID: <20140319162225.81388fb08ae413ded0abc14e@linux-foundation.org> (raw)
In-Reply-To: <20140317115013.GA26250@moon>
On Mon, 17 Mar 2014 15:50:13 +0400 Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> On Mon, Mar 17, 2014 at 03:30:26PM +0400, Pavel Emelyanov wrote:
> > On 03/17/2014 02:39 PM, Andrey Vagin wrote:
> > > Currently we don't have a way how to determing from which mount point
> > > file has been opened. This information is required for proper dumping
> > > and restoring file descriptos due to presence of mount namespaces. It's
> > > possible, that two file descriptors are opened using the same paths, but
> > > one fd references mount point from one namespace while the other fd --
> > > from other namespace.
> > >
> > > Cc: Al Viro <viro@zeniv.linux.org.uk>
> > > Cc: Oleg Nesterov <oleg@redhat.com>
> > > Cc: Andrew Morton <akpm@linux-foundation.org>
> > > Cc: Cyrill Gorcunov <gorcunov@openvz.org>
> > > Cc: Pavel Emelyanov <xemul@parallels.com>
> > > Signed-off-by: Andrey Vagin <avagin@openvz.org>
> >
> > These IDs are already shown in the /proc/$pid/mountinfo, and for some FSs
> > can be obtained via path_to_handle_at(), so this patch just makes it work
> > for any FS and speeds things up.
> >
> > Acked-by: Pavel Emelyanov <xemul@parallels.com>
>
> I think Documentation/filesystems/proc.txt should be updated on top.
Yes please.
It would be nice to see example output in the changelog as well please.
prev parent reply other threads:[~2014-03-19 23:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-17 10:39 Andrey Vagin
2014-03-17 11:30 ` Pavel Emelyanov
2014-03-17 11:50 ` Cyrill Gorcunov
2014-03-19 23:22 ` Andrew Morton [this message]
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=20140319162225.81388fb08ae413ded0abc14e@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=avagin@openvz.org \
--cc=criu@openvz.org \
--cc=gorcunov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=viro@zeniv.linux.org.uk \
--cc=xemul@parallels.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
Powered by JetHome