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@...>, <Trond.Myklebust@...>, <dhowells@...>
Date: Saturday, March 22, 2008 - 12:11 am

On Sat, Mar 22, 2008 at 03:49:50AM +0000, Al Viro wrote:


... except that it'd give a leak in case of mount to shared mountpoint
failing halfway through - we'll get double increments since umount_tree()
would hit the mountpoints of cloned trees with extra increment, even though 
reference from root of cloned to its mountpoint is _already_ a ghost.

OTOH, we probably don't want to bother with counting those anyway - i.e.
it's simply a bad definition and the right one would be along the lines of
"number of vfsmounts that are doomed to be eaten by release_mounts() and
that have ->mnt_parent pointing to us".  IOW, dropping the 2nd and 3rd
in the above would do the right thing - anything chewed by umount_tree()
*will* go to release_mounts() and ones in flight are what we are interested
in...
--
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, 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, Al Viro, (Sat Mar 22, 12:11 am)
Re: [patch 3/6] vfs: mountinfo stable peer group id, Christoph Hellwig, (Mon Mar 24, 4:54 am)