android_kernel_xiaomi_sm7250/fs/lockd
NeilBrown 350fce8dbf [PATCH] knfsd: simplify nlmsvc_invalidate_all
As a result of previous patches, the loop in nlmsvc_invalidate_all just sets
h_expires for all client/hosts to 0 (though does it in a very complicated
way).

This was possibly meant to trigger early garbage collection but half the time
'0' is in the future and so it infact delays garbage collection.

Pre-aging the 'hosts' is not really needed at this point anyway so we throw
out the loop and nlm_find_client which is no longer needed.

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-04 07:55:17 -07:00
..
clntlock.c [PATCH] knfsd: lockd: Make nlm_host_rebooted use the nsm_handle 2006-10-04 07:55:17 -07:00
clntproc.c [PATCH] knfsd: when looking up a lockd host, pass hostname & length 2006-10-04 07:55:16 -07:00
host.c [PATCH] knfsd: simplify nlmsvc_invalidate_all 2006-10-04 07:55:17 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mon.c [PATCH] knfsd: lockd: make the nsm upcalls use the nsm_handle 2006-10-04 07:55:17 -07:00
svc4proc.c [PATCH] knfsd: lockd: Make nlm_host_rebooted use the nsm_handle 2006-10-04 07:55:17 -07:00
svc.c [PATCH] knfsd: Correctly handle error condition from lockd_up 2006-10-02 07:57:18 -07:00
svclock.c [PATCH] knfsd: lockd: make nlm_traverse_* more flexible 2006-10-04 07:55:17 -07:00
svcproc.c [PATCH] knfsd: lockd: Make nlm_host_rebooted use the nsm_handle 2006-10-04 07:55:17 -07:00
svcshare.c [PATCH] knfsd: lockd: make nlm_traverse_* more flexible 2006-10-04 07:55:17 -07:00
svcsubs.c [PATCH] knfsd: simplify nlmsvc_invalidate_all 2006-10-04 07:55:17 -07:00
xdr4.c SUNRPC: display human-readable procedure name in rpc_iostats output 2006-03-20 13:44:22 -05:00
xdr.c [PATCH] namespaces: utsname: switch to using uts namespaces 2006-10-02 07:57:21 -07:00