linux/net/sunrpc
NeilBrown 4013edea9a [PATCH] knfsd: An assortment of little fixes to the sunrpc cache code
- in cache_check, h must be non-NULL as it has been de-referenced,
  so don't bother checking for NULL.

- When a cache-item is updated, we need to call cache_revisit_request to see
  if there is a pending request waiting for that item.  We were using
  a transition to CACHE_VALID to see if that was needed, however that is
  wrong as an expired entry will still be marked 'valid' (as the data is valid
  and will need to be released).  So instead use an off transition for
  CACHE_PENDING which is exactly the right thing to test.

- Add a little bit more debugging info.

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-03-27 08:44:42 -08:00
..
auth_gss [PATCH] knfsd: Use new cache code for rsc cache 2006-03-27 08:44:42 -08:00
auth_null.c [PATCH] RPC: Eliminate socket.h includes in RPC client 2005-09-23 12:38:23 -04:00
auth_unix.c SUNRPC: Fix a lock recursion in the auth_gss downcall 2006-02-01 12:52:23 -05:00
auth.c SUNRPC: Auto-load RPC authentication kernel modules 2006-03-20 13:44:08 -05:00
cache.c [PATCH] knfsd: An assortment of little fixes to the sunrpc cache code 2006-03-27 08:44:42 -08:00
clnt.c SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release() 2006-03-20 18:11:10 -05:00
Makefile [PATCH] RPC: introduce client-side transport switch 2005-09-23 12:38:12 -04:00
pmap_clnt.c SUNRPC: eliminate rpc_call() 2006-03-20 13:44:23 -05:00
rpc_pipe.c Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 2006-03-25 09:18:27 -08:00
sched.c [PATCH] mempool: use mempool_create_slab_pool() 2006-03-26 08:57:00 -08:00
socklib.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
stats.c SUNRPC: fix compile warnings on 64-bit platforms 2006-03-20 13:44:42 -05:00
sunrpc_syms.c [PATCH] knfsd: Change the store of auth_domains to not be a 'cache' 2006-03-27 08:44:41 -08:00
svc.c [NET]: Remove more unneeded typecasts on *malloc() 2006-01-11 16:32:14 -08:00
svcauth_unix.c [PATCH] knfsd: Convert ip_map cache to use the new lookup routine 2006-03-27 08:44:42 -08:00
svcauth.c [PATCH] knfsd: Change the store of auth_domains to not be a 'cache' 2006-03-27 08:44:41 -08:00
svcsock.c [NET]: sem2mutex part 2 2006-03-20 22:35:41 -08:00
sysctl.c SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled 2005-11-04 15:39:45 -05:00
timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdr.c SUNRPC: net/sunrpc/xdr.c: remove xdr_decode_string() 2006-01-06 14:58:53 -05:00
xprt.c SUNRPC: Fix memory barriers for req->rq_received 2006-03-20 13:44:51 -05:00
xprtsock.c SUNRPC: introduce per-task RPC iostats 2006-03-20 13:44:17 -05:00