[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1lk2w1mkf.fsf@frodo.ebiederm.org>
Date: Tue, 29 Apr 2008 12:35:28 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Greg KH <gregkh@...e.de>
Cc: "Serge E. Hallyn" <serue@...ibm.com>,
Benjamin Thery <benjamin.thery@...l.net>,
linux-kernel@...r.kernel.org, Tejun Heo <htejun@...il.com>,
Daniel Lezcano <dlezcano@...ibm.com>,
Pavel Emelyanov <xemul@...nvz.org>, netdev@...r.kernel.org
Subject: Re: [PATCH 00/10] sysfs tagged directories
Greg KH <gregkh@...e.de> writes:
> See the thread from Al starting with:
> Date: Mon, 7 Jan 2008 10:24:17 +0000
> From: Al Viro <viro@...IV.linux.org.uk>
> To: "Eric W. Biederman" <ebiederm@...ssion.com>
> Cc: linux-kernel@...r.kernel.org, htejun@...il.com,
> linux-fsdevel@...r.kernel.org, gregkh@...e.de
> Subject: [RFC] netns / sysfs interaction
> Message-ID: <20080107072301.GW27894@...IV.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists