diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-02-24 19:25:33 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-04-07 18:36:40 (GMT) |
commit | 31d68ef65c7d49def19c1bae4e01b87d66cf5a56 (patch) | |
tree | e55082c9573cb189f352c5fa9eb1c9d0ef5cf2d0 /include | |
parent | 586c52cc61b5b84c70102208b78269ef5924bf49 (diff) | |
download | linux-fsl-qoriq-31d68ef65c7d49def19c1bae4e01b87d66cf5a56.tar.xz |
SUNRPC: Don't wait for full record to receive tcp data
Ensure that we immediately read and buffer data from the incoming TCP
stream so that we grow the receive window quickly, and don't deadlock on
large READ or WRITE requests.
Also do some minor exit cleanup.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index 04dba23..85c50b4 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h @@ -28,6 +28,7 @@ struct svc_sock { /* private TCP part */ u32 sk_reclen; /* length of record */ u32 sk_tcplen; /* current read length */ + struct page * sk_pages[RPCSVC_MAXPAGES]; /* received data */ }; /* |