diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-23 22:03:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 00:06:31 -0700 |
commit | d99a05adf8490cc171b7709554936b8f3ac9e362 (patch) | |
tree | 64be372b75ff074a4220491a439add60d7d92323 /Documentation/MSI-HOWTO.txt | |
parent | 58da282b733cff4caef805c6555c7a3b90772946 (diff) |
[PATCH] knfsd: nfsd4: simplify lease changing
The only way the protocol gives to change the lease time on the fly is to
simulate a reboot. We don't have that completely right in the current code;
among other things, we should probably put lockd in grace too while we do
this.
For now, let's just keep this simple, and wait till the next time nfsd starts
to register any changes in lease time. If the administrator really wants to
change the lease time *now*, they can go ahead and bring nfsd down and then
back up again after changing the lease time.
Also remove the "if (reclaim_str_hashtbl_size == 0)" case, a shortcut which
skips the grace period if we know of no clients in need of recovery. This
isn't going to work well with nlm.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/MSI-HOWTO.txt')
0 files changed, 0 insertions, 0 deletions