login
Header Space

 
 

Re: how to show propagation state for mounts

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <linux-fsdevel@...>, <linuxram@...>
Date: Wednesday, February 20, 2008 - 12:04 pm

On Wed, Feb 20, 2008 at 04:39:15PM +0100, Miklos Szeredi wrote:

Eh...  Much more interesting question: since the propagation tree spans
multiple namespaces in a lot of normal uses, how do we deal with
reconstructing propagation through the parts that are not present in
our namespace?  Moreover, what should and what should not be kept private
to namespace?  Full exposure of mount trees is definitely over the top
(it shows potentially sensitive information), so we probably want less
than that.

FWIW, my gut feeling is that for each peer group that intersects with our
namespace we ought to expose in some form
	* all vfsmounts belonging to that intesection
	* the nearest dominating peer group (== master (of master ...) of)
that also has a non-empty intersection with our namespace

It's less about the form of representation (after all, we generate poll
events when contents of that sucker changes, so one *can* get a consistent
snapshot of the entire thing) and more about having it self-contained
when we have namespaces in the play.

IOW, the data in there should give answers to questions that make sense.
"Do events get propagated from this vfsmount I have to that vfsmount I have?"
is a meaningful one; ditto for "are events here propagated to somewhere I
don't see?" or "are events getting propagated here from somewhere I don't
see?".

Dumping pieces of raw graph, with IDs of nodes we can't see and without
any way to connect those pieces, OTOH, doesn't make much sense.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
how to show propagation state for mounts, Miklos Szeredi, (Wed Feb 20, 11:39 am)
Re: how to show propagation state for mounts, Al Viro, (Wed Feb 20, 12:04 pm)
Re: how to show propagation state for mounts, Matthew Wilcox, (Wed Feb 20, 12:31 pm)
Re: how to show propagation state for mounts, Ram Pai, (Wed Feb 20, 3:42 pm)
Re: how to show propagation state for mounts, Miklos Szeredi, (Wed Feb 20, 12:27 pm)
Re: how to show propagation state for mounts, Ram Pai, (Wed Feb 20, 3:29 pm)
Re: how to show propagation state for mounts, Al Viro, (Wed Feb 20, 5:14 pm)
Re: how to show propagation state for mounts, Miklos Szeredi, (Wed Feb 20, 5:35 pm)
[rfc patch] how to show propagation state for mounts, Miklos Szeredi, (Fri Feb 22, 10:46 am)
Re: [RFC PATCH v2] vfs: optimization to /proc/&lt;pid&gt;/mo..., Christoph Hellwig, (Mon Mar 10, 3:10 am)
Re: [rfc patch] how to show propagation state for mounts, Serge E. Hallyn, (Wed Mar 5, 3:25 pm)
Re: [rfc patch] how to show propagation state for mounts, Miklos Szeredi, (Wed Mar 5, 3:34 pm)
speck-geostationary