Re: [RFC PATCH] file as directory
- From: Al Viro <viro@xxxxxxxxxxxxxxxx>
- Date: Wed, 23 May 2007 10:58:24 +0100
On Wed, May 23, 2007 at 11:03:08AM +0200, Miklos Szeredi wrote:
I still don't get it where the superblock comes in. The locking is
"interesting" in there, yes. And I haven't completely convinced
myself it's right, let alone something that won't easily be screwed up
in the future. So there's definitely room for thought there.
But how does it matter if two different paths have the same sb or a
different sb mounted over them?
Because then you get a slew of fun issues with dropping the final reference
to vfsmount vs. lookup on another place. What hold do you have on that
superblock and when do you switch from "oh, called ->enter() on the same
inode again, return vfsmount over the same superblock" to "need to
initialize that damn superblock, all mounts are gone"?
The same dentry is mounted over each one. The contents of the
directory should only depend on the contents of the underlying inode.
The path leading up to it is completely irrelevant.
So what kind of exclusion do you have for ->enter()? None?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC PATCH] file as directory
- From: Miklos Szeredi
- Re: [RFC PATCH] file as directory
- References:
- [RFC PATCH] file as directory
- From: Miklos Szeredi
- Re: [RFC PATCH] file as directory
- From: Al Viro
- Re: [RFC PATCH] file as directory
- From: Miklos Szeredi
- Re: [RFC PATCH] file as directory
- From: Al Viro
- Re: [RFC PATCH] file as directory
- From: Miklos Szeredi
- Re: [RFC PATCH] file as directory
- From: Al Viro
- Re: [RFC PATCH] file as directory
- From: Miklos Szeredi
- Re: [RFC PATCH] file as directory
- From: Al Viro
- Re: [RFC PATCH] file as directory
- From: Miklos Szeredi
- [RFC PATCH] file as directory
- Prev by Date: Re: 2.6.21.1 fails to suspend/resume to disk (sort of)
- Next by Date: [PATCH] libata: -ENODEV during prereset isn't an error
- Previous by thread: Re: [RFC PATCH] file as directory
- Next by thread: Re: [RFC PATCH] file as directory
- Index(es):
Relevant Pages
|