Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote: > > On Llu, 2005-09-05 at 12:53 -0700, Andrew Morton wrote: > > > - How are they ref counted > > > - What are the cleanup semantics > > > - How do I pass a lock between processes (AF_UNIX sockets wont work now) > > > - How do I poll on a lock coming free. > > > - What are the semantics of lock ownership > > > - What rules apply for inheritance > > > - How do I access a lock across threads. > > > - What is the permission model. > > > - How do I attach audit to it > > > - How do I write SELinux rules for it > > > - How do I use mount to make namespaces appear in multiple vservers > > > > > > and thats for starters... > > > > Return an fd from create_lockspace(). > > That only answers about four of the questions. The rest only come out if > create_lockspace behaves like a file system - in other words > create_lockspace is better known as either mkdir or mount. But David said that "We export our full dlm API through read/write/poll on a misc device.". That miscdevice will simply give us an fd. Hence my suggestion that the miscdevice be done away with in favour of a dedicated syscall which returns an fd. What does a filesystem have to do with this? -- Linux-cluster@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/linux-cluster