Re: [Linux-cluster] Re: GFS, what's remaining

From: Andrew Morton
Date: Mon Sep 05 2005 - 04:21:59 EST


David Teigland <teigland@xxxxxxxxxx> wrote:
>
> On Mon, Sep 05, 2005 at 01:54:08AM -0700, Andrew Morton wrote:
> > David Teigland <teigland@xxxxxxxxxx> wrote:
> > >
> > > We export our full dlm API through read/write/poll on a misc device.
> > >
> >
> > inotify did that for a while, but we ended up going with a straight syscall
> > interface.
> >
> > How fat is the dlm interface? ie: how many syscalls would it take?
>
> Four functions:
> create_lockspace()
> release_lockspace()
> lock()
> unlock()

Neat. I'd be inclined to make them syscalls then. I don't suppose anyone
is likely to object if we reserve those slots.
-
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/