kernel-ark/net/sunrpc
James Lentini 50e1092b3a SUNRPC xprtrdma: fix XDR tail buf marshalling for all ops
rpcrdma_convert_iovs is passed an xdr_buf representing either an RPC
request or an RPC reply. In the case of a request, several
calculations and tests involving pos are unnecessary. In the case of a
reply, several calculations and tests involving pos are incorrect (the
code tests pos against the reply xdr buf's len field, which is always
0 at the time rpcrdma_convert_iovs is executed). This change removes
the incorrect/unnecessary calculations and tests involving pos.

This fixes an observed problem when reading certain file sizes over
NFS/RDMA.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: Tom Talpey <talpey@netapp.com>
Signed-off-by: James Lentini <jlentini@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-12-11 22:01:59 -05:00
..
auth_gss SUNRPC: Add missing "space" to net/sunrpc/auth_gss.c 2007-11-26 16:24:59 -05:00
xprtrdma SUNRPC xprtrdma: fix XDR tail buf marshalling for all ops 2007-12-11 22:01:59 -05:00
auth_null.c
auth_unix.c SUNRPC: Remove the tk_auth macro... 2007-07-10 23:40:37 -04:00
auth.c SUNRPC: move bkl locking and xdr proc invocation into a common helper 2007-07-19 15:21:39 -04:00
cache.c [SUNRPC]: Make the sunrpc use the seq_open_private() 2007-10-10 16:55:36 -07:00
clnt.c SUNRPC: Don't call xprt_release in call refresh 2007-10-09 17:20:42 -04:00
Makefile RPCRDMA: rpc rdma transport switch 2007-10-09 17:18:03 -04:00
rpc_pipe.c sunrpc: rpc_pipe_poll may miss available data in some cases 2007-11-17 13:08:47 -05:00
rpcb_clnt.c [2.6 patch] net/sunrpc/rpcb_clnt.c: make struct rpcb_program static 2007-10-09 17:20:32 -04:00
sched.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
socklib.c SUNRPC: add EXPORT_SYMBOL_GPL for generic transport functions 2007-10-09 17:17:36 -04:00
stats.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
sunrpc_syms.c SUNRPC: rearrange RPC sockets definitions 2007-10-09 17:17:48 -04:00
svc.c knfsd: Add source address to sunrpc svc errors 2007-10-09 18:31:57 -04:00
svcauth_unix.c knfsd: nfsd: set rq_client to ip-address-determined-domain 2007-07-17 10:23:07 -07:00
svcauth.c
svcsock.c [NET] Cleanup: Use sock_owned_by_user() macro 2007-10-10 16:49:00 -07:00
sysctl.c [SUNRPC]: fix rpc debugging 2007-10-30 01:07:15 -07:00
timer.c SUNRPC: add EXPORT_SYMBOL_GPL for generic transport functions 2007-10-09 17:17:36 -04:00
xdr.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
xprt.c [SUNRPC]: Remove SPIN_LOCK_UNLOCKED 2007-11-22 19:40:22 +08:00
xprtsock.c SUNRPC: make sunrpc/xprtsock.c:xs_setup_{udp,tcp}() static 2007-11-26 16:24:50 -05:00