kernel-fxtec-pro1x/include/linux/sunrpc
Trond Myklebust b6ddf64ffe SUNRPC: Fix up xprt_write_space()
The rest of the networking layer uses SOCK_ASYNC_NOSPACE to signal whether
or not we have someone waiting for buffer memory. Convert the SUNRPC layer
to use the same idiom.
Remove the unlikely()s in xs_udp_write_space and xs_tcp_write_space. In
fact, the most common case will be that there is nobody waiting for buffer
space.

SOCK_NOSPACE is there to tell the TCP layer whether or not the cwnd was
limited by the application window. Ensure that we follow the same idiom as
the rest of the networking layer here too.

Finally, ensure that we clear SOCK_ASYNC_NOSPACE once we wake up, so that
write_space() doesn't keep waking things up on xprt->pending.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-04-19 16:52:44 -04:00
..
auth.h SUNRPC: Add an rpc_credop callback for binding a credential to an rpc_task 2008-03-14 13:42:41 -04:00
auth_gss.h
cache.h knfsd: allow cache_register to return error on failure 2008-02-01 16:42:05 -05:00
clnt.h SUNRPC: Declare as const the rpc_message arguments to rpc_call_sync/async 2008-02-14 11:17:24 -05: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: Remove now-redundant RCU-safe rpc_task free path 2008-02-28 23:26:28 -08:00
stats.h
svc.h nfsd: clean up svc_reserve_auth() 2008-02-10 18:11:16 -05:00
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
svcauth.h
svcauth_gss.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: Fix up xprt_write_space() 2008-04-19 16:52:44 -04:00
xprtrdma.h
xprtsock.h