Re: [patch 3/6] vfs: mountinfo stable peer group id

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <akpm@...>, <linuxram@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Wednesday, March 19, 2008 - 2:20 pm

On Wed, Mar 19, 2008 at 05:41:15PM +0100, Miklos Szeredi wrote:

It is called with vfsmount_lock in *all* cases.  You've missed one
in umount_tree(), BTW; you won't block in that case, though.


Not the issue.


Callers manipulate more than propagation tree.  Note that e.g.
umount_tree() changes all sorts of data structures, including ones
that are traversed without namespace_sem.

I _really_ don't like the idea of different locking rules for caller
of a function depending on the value of argument of that function.
They are complicated enough as it is.

Argh...  OK, I'll try to put something together tonight, after I get some
sleep - 31 hours of uptime _suck_ ;-/  BTW, on top of everything else,
the current variant plays interesting games with CL_PROPAGATION behaviour
and I really don't like the look of what it's doing there.  Later...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 3/6] vfs: mountinfo stable peer group id, Miklos Szeredi, (Thu Mar 13, 5:26 pm)
Re: [patch 3/6] vfs: mountinfo stable peer group id, Miklos Szeredi, (Wed Mar 19, 12:41 pm)
Re: [patch 3/6] vfs: mountinfo stable peer group id, Al Viro, (Wed Mar 19, 2:20 pm)
Re: [patch 3/6] vfs: mountinfo stable peer group id, Miklos Szeredi, (Wed Mar 19, 2:37 pm)
Re: [patch 3/6] vfs: mountinfo stable peer group id, Miklos Szeredi, (Fri Mar 21, 4:57 am)
Re: [patch 3/6] vfs: mountinfo stable peer group id, Christoph Hellwig, (Mon Mar 24, 4:54 am)