tmp_suning_uos_patched/net/sunrpc
Trond Myklebust 47fcb03fef SUNRPC: Fix the TCP server's send buffer accounting
Currently, the sunrpc server is refusing to allow us to process new RPC
calls if the TCP send buffer is 2/3 full, even if we do actually have
enough free space to guarantee that we can send another request.
The following patch fixes svc_tcp_has_wspace() so that we only stop
processing requests if we know that the socket buffer cannot possibly fit
another reply.

It also fixes the tcp write_space() callback so that we only clear the
SOCK_NOSPACE flag when the TCP send buffer is less than 2/3 full.
This should ensure that the send window will grow as per the standard TCP
socket code.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-06-18 19:58:51 -07:00
..
auth_gss
xprtrdma sunrpc: potential memory leak in function rdma_read_xdr 2009-06-15 19:34:32 -07:00
auth_generic.c
auth_null.c
auth_unix.c
auth.c
cache.c sunrpc: align cache_clean work's timer 2009-06-15 18:14:58 -07:00
clnt.c
Kconfig
Makefile
rpc_pipe.c
rpcb_clnt.c
sched.c
socklib.c
stats.c
sunrpc_syms.c
svc_xprt.c
svc.c
svcauth_unix.c
svcauth.c
svcsock.c SUNRPC: Fix the TCP server's send buffer accounting 2009-06-18 19:58:51 -07:00
sysctl.c
timer.c
xdr.c
xprt.c
xprtsock.c