Re: [PATCH] unified SysV and Posix mqueues as FS

Alexander Viro (viro@math.psu.edu)
Sun, 27 Oct 2002 20:54:00 -0500 (EST)


On Sun, 27 Oct 2002, Peter Waechtler wrote:

> Alexander Viro schrieb:
> >
> > On Sun, 27 Oct 2002, Peter Waechtler wrote:
> >
> > > I applied the patch from Jakub against 2.5.44
> > > There are still open issues but it's important to get this in before
> > > feature freeze.
> > >
> > > While you can implement Posix mqueues in userland (Irix is doing this
> > > with fcntl(fd,F_SETLKW,) and shmem) a kernel implementation has some advantages:
> >
> > *thud*
> >
> > ioctls on _directories_, of all things?
>
> Parden? Where are directories used?
> create a file, give it a size, mmap it and serialize access to it with locks.
> That's all.

Check your file_operations for root directory.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/