Re: [PATCH] proc: show mnt_id in fdinfo files (v2)

2014-03-20 Thread Cyrill Gorcunov
On Thu, Mar 20, 2014 at 02:57:28PM +0400, 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 tw

[PATCH] proc: show mnt_id in fdinfo files (v2)

2014-03-20 Thread Andrey Vagin
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 referen

Re: [PATCH] proc: show mnt_id in fdinfo files

2014-03-19 Thread Andrew Morton
On Mon, 17 Mar 2014 15:50:13 +0400 Cyrill Gorcunov 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

Re: [PATCH] proc: show mnt_id in fdinfo files

2014-03-17 Thread Cyrill Gorcunov
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

Re: [PATCH] proc: show mnt_id in fdinfo files

2014-03-17 Thread Pavel Emelyanov
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

[PATCH] proc: show mnt_id in fdinfo files

2014-03-17 Thread Andrey Vagin
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 referen