Messages in this thread | | | From | (Eric W. Biederman) | Date | Tue, 29 Apr 2008 12:35:28 -0700 | Subject | Re: [PATCH 00/10] sysfs tagged directories |
| |
Greg KH <gregkh@suse.de> writes:
> See the thread from Al starting with: > Date: Mon, 7 Jan 2008 10:24:17 +0000 > From: Al Viro <viro@ZenIV.linux.org.uk> > To: "Eric W. Biederman" <ebiederm@xmission.com> > Cc: linux-kernel@vger.kernel.org, htejun@gmail.com, > linux-fsdevel@vger.kernel.org, gregkh@suse.de > Subject: [RFC] netns / sysfs interaction > Message-ID: <20080107072301.GW27894@ZenIV.linux.org.uk> > > He had a lot of questions and objections to this way forward, and I > share those objections.
If either of you will take those objections and see how they actually apply to the patches I would be happy.
We are quite successfully using multiple mounts in proc for the pid namespace with no large issues.
Similarly for the network namespace we have the same set of files showing up in different places in /proc with no large coherency issues despite the same files being in multiple places in the dcache.
The only piece of the puzzle new in sysfs is directory rename support. Which takes a little work but seems sane.
When I mentioned I was doing this Al said: > Excuse me, _what_? Are you seriously suggesting going through all dentry > trees, doing d_move() in each? I want to see your locking. It's promising > to be worse than devfs had ever been. Much worse.
Odd I thought I sent Al a reply to that bold statement but it doesn't appear in the archive.
At any rate I'm not afraid of more code review and testing.
At the time Al made those statements his concerns about coherency and locking nightmares did not seem to apply to these patches and they don't seem to apply now.
I will happily admit the VFS does not like to work with filesystems where the state changes behind it's back. That is the position we are in fundamentally with sysfs and proc, and the locking works today. Multiple superblocks for sysfs does not change that in any significant way.
So bring on the tough code review and concrete objections. The code can take it and it can only get better for it.
Eric
| |