diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-03-30 20:33:53 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-03-31 15:52:52 +0200 |
commit | e23779451ee05e824fedbb68bd17fc5c77e40166 (patch) | |
tree | 7a0efe03c56670575680c5b0f92eb246057ed8e4 /net/key | |
parent | xprtrdma: Display IPv6 addresses and port numbers correctly (diff) | |
download | linux-e23779451ee05e824fedbb68bd17fc5c77e40166.tar.xz linux-e23779451ee05e824fedbb68bd17fc5c77e40166.zip |
xprtrdma: Perform a full marshal on retransmit
Commit 6ab59945f292 ("xprtrdma: Update rkeys after transport
reconnect" added logic in the ->send_request path to update the
chunk list when an RPC/RDMA request is retransmitted.
Note that rpc_xdr_encode() resets and re-encodes the entire RPC
send buffer for each retransmit of an RPC. The RPC send buffer
is not preserved from the previous transmission of an RPC.
Revert 6ab59945f292, and instead, just force each request to be
fully marshaled every time through ->send_request. This should
preserve the fix from 6ab59945f292, while also performing pullup
during retransmits.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Sagi Grimberg <sagig@mellanox.com>
Tested-by: Devesh Sharma <Devesh.Sharma@Emulex.Com>
Tested-by: Meghana Cheripady <Meghana.Cheripady@Emulex.Com>
Tested-by: Veeresh U. Kokatnur <veereshuk@chelsio.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions