Re: SMP/cc Cluster description

Larry McVoy
2001-12-07T00:18:09Z

On Thu, Dec 06, 2001 at 03:47:35PM -0800, David S. Miller wrote:
> From: Larry McVoy <lm@bitmover.com>
> Date: Thu, 6 Dec 2001 15:32:57 -0800
>
> And, the ccCluster approach moves most of the nasty locking
> problems into a ccCluster specific filesystem rather than buggering
> up the generic paths.
>
> I still don't believe this, you are still going to need a lot of
> generic VFS threading. This is why myself and others keep talking
> about ftruncate(), namei() et al.
>
> If I look up "/etc" on bigfoot, littletoe, or whatever fancy name you
> want to call the filesystem setup, SOMETHING has to control access to
> the path name components (ie. there has to be locking).

Sure, but you are assuming one file system, which is global. That's
certainly one way to do it, but not the only way, and not the way that
I've suggested. I'm not sure if you remember this, but I always advocated
partially shared and partially private. /, for example, is private.
In fact, so is /proc, /tmp, and /dev. There are /gproc, /gtmp, and /gdev
which are in the global namespace and do for the cluster what /<xxx>
does for a regular machine.

We can go around and around on this and the end result will be that I will
have narrowed the locking problem down to the point that only the processes
which are actually using the resource have to participate in the locking.
In a traditional SMP OS, all processes have to participate.
--
---
Larry McVoy lm at bitmover.com http://www.bitmover.com/lm