aboutsummaryrefslogtreecommitdiff
path: root/kernel/up.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-03-01 19:21:21 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-03-06 15:02:02 -0500
commite46b498c84163e86e2627c30bca298c968664f65 (patch)
tree2d55637d4f61e68e0a9a7340f0529fe3b6d44dd7 /kernel/up.c
parentcf07d2ea43e5c22149435ee9002cb737eac20eca (diff)
nfsd4: simplify lease/grace interaction
The original code here assumed we'd allow the user to change the lease any time, but only allow the change to take effect on restart. Since then we modified the code to allow setting the lease on when the server is down. Update the rest of the code to reflect that fact, clarify variable names, and add document. Also, the code insisted that the grace period always be the longer of the old and new lease periods, but that's overly conservative--as long as it lasts at least the old lease period, old clients should still know to recover in time. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions