NFSv4: Return unreferenced delegations more promptly
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 20:21:52 +0000 (15:21 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 20:21:52 +0000 (15:21 -0500)
commitb7391f44f26b17ad25c7183a3d6ad50f0a9305ff
tree8e09a5714587a8bde2a805819501d10bae4787b7
parent6411bd4a471893ab2af103d96253ba97c92d4777
NFSv4: Return unreferenced delegations more promptly

If the client is not using a delegation, the right thing to do is to return
it as soon as possible. This helps reduce the amount of state the server
has to track, as well as reducing the potential for conflicts with other
clients.

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