Re: [RFC] Patch to allow distributed flock

From: Trond Myklebust
Date: Thu Jun 24 2004 - 20:48:12 EST


På to , 24/06/2004 klokka 21:37, skreiv Trond Myklebust:
> På to , 24/06/2004 klokka 20:07, skreiv Ken Preslan:
>
> > If the FS is managing the posix locks and/or flocks, is there really a
> > reason to acquire the VFS versions of the locks too? As long as there is
> > some bit set that tells the VFS to call down into the FS to unlock the
> > locks on process exit, keeping both sets of locks seems wasteful.
> > What am I missing?

...Oh I forgot to mention --- If you want to support mandatory locks (?)
then the VFS interface can serve as a billboard for posting those
regions of the file that are off-limits to other processes.

Cheers,
Trond
-
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/