Re: fcntl(F GETLEASE) semantics??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux