summaryrefslogtreecommitdiff
path: root/fs/nfs/Kconfig
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-05-19 01:47:56 +0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-06-19 06:58:51 +0400
commit47fcb03fefee2501e79176932a4184fc24d6f8ec (patch)
treecb8eb34c5e54ce278b54cb6f9c820f564c183574 /fs/nfs/Kconfig
parentab52ae6db035fa425f90146327ab7d2c5d3e5654 (diff)
downloadlinux-47fcb03fefee2501e79176932a4184fc24d6f8ec.tar.xz
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>
Diffstat (limited to 'fs/nfs/Kconfig')
0 files changed, 0 insertions, 0 deletions