[sheepdog] [PATCH 1/2] object cache: use flock instead of fcntl for locking

Liu Yuan namei.unix at gmail.com
Mon Jun 4 13:49:50 CEST 2012


On 06/04/2012 10:41 AM, Liu Yuan wrote:

> "record locks are automatically released when the process terminates or if
> it closes any file descriptor referring to a file on which locks are held"
> 
> This means fcntl lock doesn't support locking across FD even in the same process
> space.


Applied these two.

Thanks,
Yuan



More information about the sheepdog mailing list