login
Header Space

 
 

Re: [patch 3/7] vfs: mountinfo: add mount ID

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <akpm@...>, <linuxram@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Wednesday, March 26, 2008 - 6:25 pm

On Wed, Mar 26, 2008 at 10:11:34PM +0100, Miklos Szeredi wrote:

*Ugh*

Why bother with vfsmount_lock here?  All allocations are done under
namespace_sem.  Moreover, I'd rather replace that 'goto retry' with
a single call of ida_get_new(), since we are serialized anyway.


... and I'd rather do that earlier, e.g. in umount_tree().  At that point
we (a) have namespace_sem and (b) irrevocably kick the sucker out of
any namespace.

I'd rather minimize banging vfsmount_lock like that...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 3/7] vfs: mountinfo: add mount ID, Miklos Szeredi, (Wed Mar 26, 5:11 pm)
Re: [patch 3/7] vfs: mountinfo: add mount ID, Al Viro, (Wed Mar 26, 6:25 pm)
speck-geostationary