linux-kernel-test/include/linux/sunrpc
Trond Myklebust 5d00837b90 SUNRPC: Run rpc timeout functions as callbacks instead of in softirqs
An audit of the current RPC timeout functions shows that they don't really
ever need to run in the softirq context. As long as the softirq is
able to signal that the wakeup is due to a timeout (which it can do by
setting task->tk_status to -ETIMEDOUT) then the callback functions can just
run as standard task->tk_callback functions (in the rpciod/process
context).

The only possible border-line case would be xprt_timer() for the case of
UDP, when the callback is used to reduce the size of the transport
congestion window. In testing, however, the effect of moving that update
to a callback would appear to be minor.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-02-25 21:40:44 -08:00
..
auth_gss.h
auth.h
cache.h knfsd: allow cache_register to return error on failure 2008-02-01 16:42:05 -05:00
clnt.h Merge branch 'task_killable' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc 2008-02-01 11:45:47 +11:00
debug.h svc: Make svc_sock the tcp/udp transport 2008-02-01 16:42:07 -05:00
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h SUNRPC: Move universal address definitions to global header 2008-01-30 02:05:50 -05:00
rpc_pipe_fs.h
rpc_rdma.h
sched.h SUNRPC: Run rpc timeout functions as callbacks instead of in softirqs 2008-02-25 21:40:44 -08:00
stats.h
svc_rdma.h rdma: SVCRMDA Header File 2008-02-01 16:42:14 -05:00
svc_xprt.h svc: Add svc_xprt_names service to replace svc_sock_names 2008-02-01 16:42:14 -05:00
svc.h nfsd: clean up svc_reserve_auth() 2008-02-10 18:11:16 -05:00
svcauth_gss.h
svcauth.h
svcsock.h svc: Move the sockaddr information to svc_xprt 2008-02-01 16:42:12 -05:00
timer.h
types.h
xdr.h SUNRPC: Use unsigned string lengths in xdr_decode_string_inplace 2008-02-01 16:42:02 -05:00
xprt.h SUNRPC: fewer conditionals in the format_ip_address routines 2008-01-30 02:06:04 -05:00
xprtrdma.h
xprtsock.h SUNRPC: make sunrpc/xprtsock.c:xs_setup_{udp,tcp}() static 2007-11-26 16:24:50 -05:00