NFSv4: Recover locks too when returning a delegation
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Nov 2005 20:38:11 +0000 (15:38 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Nov 2005 20:38:11 +0000 (15:38 -0500)
commit888e694c167975709f17526dbbed2d98f84e8f85
tree11dbbdf2591946f490d4cb28194a80fd3cec4094
parent43b2a33aa868054bd477ab2c1cd20f1ba1af2c3e
NFSv4: Recover locks too when returning a delegation

 Delegations allow us to cache posix and BSD locks, however when the
 delegation is recalled, we need to "flush the cache" and send
 the cached LOCK requests to the server.

 This patch sets up the mechanism for doing so.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/delegation.c
fs/nfs/delegation.h
fs/nfs/nfs4proc.c