XPRTRDMA: correct an rpc/rdma inline send marshaling error
authorTom Talpey <tmtalpey@gmail.com>
Wed, 11 Mar 2009 18:37:55 +0000 (14:37 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:37:55 +0000 (14:37 -0400)
commitb38ab40ad58c1fc43ea590d6342f6a6763ac8fb6
treef2e701eff6bed88f1085a95a9a240db105776831
parentb1e1e158779f1d99c2cc18e466f6bf9099fc0853
XPRTRDMA: correct an rpc/rdma inline send marshaling error

Certain client rpc's which contain both lengthy page-contained
metadata and a non-empty xdr_tail buffer require careful handling
to avoid overlapped memory copying. Rearranging of existing rpcrdma
marshaling code avoids it; this fixes an NFSv4 symlink creation error
detected with connectathon basic/test8 to multiple servers.

Signed-off-by: Tom Talpey <tmtalpey@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c