linux-stable/fs/nfsd
NeilBrown d99a05adf8 [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>
2005-06-24 00:06:31 -07:00
..
auth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lockd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs2acl.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs3acl.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs3proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs3xdr.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs4acl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs4callback.c [PATCH] knfsd: nfsd4: fix probe_callback 2005-06-24 00:06:30 -07:00
nfs4idmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs4proc.c [PATCH] knfsd: nfs4: hold filp while reading or writing 2005-06-24 00:06:30 -07:00
nfs4state.c [PATCH] knfsd: nfsd4: simplify lease changing 2005-06-24 00:06:31 -07:00
nfs4xdr.c [PATCH] nfsd4: fix fh_expire_type 2005-06-24 00:06:28 -07:00
nfscache.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsfh.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsproc.c [PATCH] NFSD: Add NFS3ERR_NOTSUPP to the nfsd error mapping table 2005-06-22 16:07:21 -04:00
nfssvc.c [PATCH] fix nfsacl pointer arithmetic and pg_class initialization bugs 2005-06-22 16:07:27 -04:00
nfsxdr.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
stats.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfs.c [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00