linux/fs/lockd
NeilBrown 4481d1038f [PATCH] knfsd: Fix bug in recent lockd patches that can cause reclaim to fail
When an nfs server shuts down, lockd needs to release all the locks even
though the client still holds them.

It should therefore not 'unmonitor' the clients, so that the files in nfs/sm
will still be there when the nfs server restarts, so that those clients will
be told to reclaim their locks.

However the hosts are fully unmonitored, so statd may well remove the files.

lockd has a test for 'sm_sticky' and avoid the unmonitor call if it is set,
but it is currently not set.

So set it when tearing down lockd.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-17 08:18:46 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clntlock.c [PATCH] knfsd: lockd: fix use of h_nextrebind 2006-10-04 07:55:18 -07:00
clntproc.c [PATCH] knfsd: make nlmclnt_next_cookie SMP safe 2006-10-04 07:55:17 -07:00
host.c [PATCH] knfsd: lockd: fix refount on nsm 2006-10-04 07:55:20 -07:00
mon.c [PATCH] knfsd: export nsm_local_state to user space via sysctl 2006-10-04 07:55:18 -07:00
svc.c [PATCH] knfsd: export nsm_local_state to user space via sysctl 2006-10-04 07:55:18 -07:00
svc4proc.c [PATCH] knfsd: match GRANTED_RES replies using cookies 2006-10-04 07:55:18 -07:00
svclock.c [PATCH] Convert lockd to use the newer mutex instead of the older semaphore 2006-10-04 07:55:19 -07:00
svcproc.c [PATCH] knfsd: match GRANTED_RES replies using cookies 2006-10-04 07:55:18 -07:00
svcshare.c [PATCH] knfsd: lockd: make nlm_traverse_* more flexible 2006-10-04 07:55:17 -07:00
svcsubs.c [PATCH] knfsd: Fix bug in recent lockd patches that can cause reclaim to fail 2006-10-17 08:18:46 -07:00
xdr.c [PATCH] namespaces: utsname: switch to using uts namespaces 2006-10-02 07:57:21 -07:00
xdr4.c SUNRPC: display human-readable procedure name in rpc_iostats output 2006-03-20 13:44:22 -05:00