linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to show propagation state for mounts
@ 2008-02-20 15:39 Miklos Szeredi
  2008-02-20 16:04 ` Al Viro
  0 siblings, 1 reply; 15+ messages in thread
From: Miklos Szeredi @ 2008-02-20 15:39 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: viro, linuxram

> mountinfo - IMO needs a sane discussion of what and how should be shown
> wrt propagation state

Here's my take on the matter.

The propagation tree can be either be represented

 1) "from root to leaf" listing members of peer groups and their
 slaves explicitly,

 2) or "from leaf to root" by identifying each peer group and then for
 each mount showing the id of its own group and the id of the group's
 master.

2) can have two variants:

 2a) id of peer group is constant in time

 2b) id of peer group may change

The current patch does 2b).  Having a fixed id for each peer group
would mean introducing a new object to anchor the peer group into,
which would add complexity to the whole thing.

All of these are implementable, just need to decide which one we want.

Miklos

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-03-10 11:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 15:39 how to show propagation state for mounts Miklos Szeredi
2008-02-20 16:04 ` Al Viro
2008-02-20 16:27   ` Miklos Szeredi
2008-02-20 19:29     ` Ram Pai
2008-02-20 21:14       ` Al Viro
2008-02-20 21:35         ` Miklos Szeredi
2008-02-22 14:46           ` [rfc patch] " Miklos Szeredi
2008-03-05 19:25             ` Serge E. Hallyn
2008-03-05 19:34               ` Miklos Szeredi
2008-03-05 20:23                 ` Ram Pai
2008-03-10  6:53             ` [RFC PATCH v2] vfs: optimization to /proc/<pid>/mountinfo patch Ram Pai
2008-03-10  7:10               ` Christoph Hellwig
2008-03-10 11:39                 ` Miklos Szeredi
2008-02-20 16:31   ` how to show propagation state for mounts Matthew Wilcox
2008-02-20 19:42     ` Ram Pai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).