locks: provide a file lease method enabling cluster-coherent leases
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 14 Nov 2006 20:51:40 +0000 (15:51 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Jul 2007 23:14:47 +0000 (19:14 -0400)
commitf9ffed26d6f3e6ac9988947242821579d615fda7
treef7dc037b9b1a90511751532be5ebc47c820ed407
parenta9933cea7a1d80dd9efae9f1acd857f5dce742b9
locks: provide a file lease method enabling cluster-coherent leases

Currently leases are only kept locally, so there's no way for a distributed
filesystem to enforce them against multiple clients.  We're particularly
interested in the case of nfsd exporting a cluster filesystem, in which
case nfsd needs cluster-coherent leases in order to implement delegations
correctly.

Also add some documentation.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/locks.c
include/linux/fs.h