Re: [RFC PATCH] file as directory

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Wednesday, May 23, 2007 - 3:40 am

> > Right.  After locking vfsmount_lock, mount_dironfile() should recheck

If the cost of ->enter() is low, then it shouln't really be a problem.
We can't use ->i_mutex for locking, and introducing a new lock for
this doesn't sound right either.


When the real superblock is created.  It could even be the _same_
super block as the real one.  There'd be just the problem of anchoring
the dir-on-file dentries somewhere...

Or with fuse the dir-on-file mount can just come from any mounted
filesystem, again possibly the same one as the parent.  I do actually
test with this.  The userspace filesystem supplies a file descriptor,
from which the struct path is extracted and returned from ->enter().

Miklos
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH] file as directory, Miklos Szeredi, (Tue May 22, 11:48 am)
Re: [RFC PATCH] file as directory, Al Viro, (Tue May 22, 3:10 pm)
Re: [RFC PATCH] file as directory, Shaya Potter, (Tue May 22, 4:26 pm)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Tue May 22, 11:36 pm)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Tue May 22, 11:39 pm)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 12:03 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 12:19 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 12:36 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 1:05 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 1:29 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 2:03 am)
Re: [RFC PATCH] file as directory, Jan Blunck, (Wed May 23, 2:16 am)
Re: [RFC PATCH] file as directory, Jan Blunck, (Wed May 23, 2:21 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 2:28 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 2:35 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 2:51 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 2:58 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 3:09 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 3:14 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 3:24 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 3:24 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 3:40 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 4:39 am)
Re: [RFC PATCH] file as directory, Jan Engelhardt, (Wed May 23, 5:01 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 5:16 am)
Re: [RFC PATCH] file as directory, Trond Myklebust, (Wed May 23, 5:34 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 5:40 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 6:01 am)
Re: [RFC PATCH] file as directory, Jaroslav Sykora, (Wed May 23, 6:20 am)
Re: [RFC PATCH] file as directory, Ph. Marek, (Wed May 23, 6:23 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 6:51 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 6:54 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 7:32 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 8:06 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 8:25 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 8:37 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 8:55 am)
Re: [RFC PATCH] file as directory, Pavel Machek, (Thu May 24, 5:07 am)