linux/net/sunrpc/auth_gss
J.Bruce Fields e0bb89ef03 [PATCH] knfsd: nfsd: don't drop silently on upcall deferral
To avoid tying up server threads when nfsd makes an upcall (to mountd, to get
export options, to idmapd, for nfsv4 name<->id mapping, etc.), we temporarily
"drop" the request and save enough information so that we can revisit it
later.

Certain failures during the deferral process can cause us to really drop the
request and never revisit it.

This is often less than ideal, and is unacceptable in the NFSv4 case--rfc 3530
forbids the server from dropping a request without also closing the
connection.

As a first step, we modify the deferral code to return -ETIMEDOUT (which is
translated to nfserr_jukebox in the v3 and v4 cases, and remains a drop in the
v2 case).

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
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-12-13 09:05:54 -08:00
..
auth_gss.c [PATCH] struct path: convert sunrpc 2006-12-08 08:28:50 -08:00
gss_generic_token.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gss_krb5_crypto.c rpcgss: simplify make_checksum 2006-12-06 10:46:46 -05:00
gss_krb5_mech.c rpcgss: krb5: ignore seed 2006-12-06 10:46:47 -05:00
gss_krb5_seal.c rpcgss: krb5: miscellaneous cleanup 2006-12-06 10:46:48 -05:00
gss_krb5_seqnum.c [SUNRPC] GSS: Use block ciphers where applicable 2006-09-21 11:46:15 +10:00
gss_krb5_unseal.c rpcgss: krb5: miscellaneous cleanup 2006-12-06 10:46:48 -05:00
gss_krb5_wrap.c rpcgss: krb5: miscellaneous cleanup 2006-12-06 10:46:48 -05:00
gss_mech_switch.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
gss_spkm3_mech.c rpc: spkm3 update 2006-12-06 10:46:44 -05:00
gss_spkm3_seal.c rpc: spkm3 update 2006-12-06 10:46:44 -05:00
gss_spkm3_token.c rpc: spkm3 update 2006-12-06 10:46:44 -05:00
gss_spkm3_unseal.c rpc: spkm3 update 2006-12-06 10:46:44 -05:00
Makefile RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. 2005-10-18 23:19:46 -07:00
svcauth_gss.c [PATCH] knfsd: nfsd: don't drop silently on upcall deferral 2006-12-13 09:05:54 -08:00