Re: [PATCH] Allow cluster-wide flock

From: Alan Cox
Date: Mon Aug 30 2004 - 10:40:08 EST


On Llu, 2004-08-30 at 16:19, Ken Preslan wrote:
> Hi,
>
> Below is a patch that lets a cluster filesystem (such as GFS) implement
> flock across a the cluster. Please apply.

flock affects local node only traditionally and applications expect high
performance from it. Our documentation merely says

flock(2) does not lock files over NFS. Use fcntl(2) instead:
that does
work over NFS, given a sufficiently recent version of Linux
and a
server which supports locking.

I'm not sure how we should count GFS but other than noting a need to
think about it I see no problems with a cluster being "local"

-
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/