Re: fcntl(F GETLEASE) semantics??

From: Trond Myklebust
Date: Thu Aug 11 2005 - 10:26:00 EST


to den 11.08.2005 Klokka 11:06 (-0400) skreiv Trond Myklebust:

> -----
> fcntl(SETLK)| effect on existing leases |
> flag | F_RDLCK | F_WRLCK |
> ---------+---------------------------+
> F_RDLCK | none | none |
> F_WRLCK | recall | none |

Oops... That table applies to existing leases owned by your process. The
effect on leases owned by other processes is:

fcntl(SETLK)| effect on other clients |
flag | F_RDLCK | F_WRLCK |
---------+---------------------------+
F_RDLCK | none | recall |
F_WRLCK | recall | recall |

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/