WSL2-Linux-Kernel/net/sunrpc/xprtrdma
Chuck Lever ae605ee983 xprtrdma: Revert 586a0787ce
Commit 9ed5af268e ("SUNRPC: Clean up the handling of page padding
in rpc_prepare_reply_pages()") [Dec 2020] affects RPC Replies that
have a data payload (i.e., Write chunks).

rpcrdma_prepare_readch(), as its name suggests, sets up Read chunks
which are data payloads within RPC Calls. Those payloads are
constructed by xdr_write_pages(), which continues to stuff the call
buffer's tail kvec with the payload's XDR roundup. Thus removing
the tail buffer logic in rpcrdma_prepare_readch() was the wrong
thing to do.

Fixes: 586a0787ce ("xprtrdma: Clean up rpcrdma_prepare_readch()")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-05-27 08:46:19 -04:00
..
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
backchannel.c xprtrdma: Delete rpcrdma_recv_buffer_put() 2021-04-26 09:24:12 -04:00
frwr_ops.c xprtrdma: Fix a NULL dereference in frwr_unmap_sync() 2021-05-01 19:42:22 -04:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: Revert 586a0787ce 2021-05-27 08:46:19 -04:00
svc_rdma.c svcrdma: Deprecate stat variables that are no longer used 2021-01-25 09:36:28 -05:00
svc_rdma_backchannel.c svcrdma: Normalize Send page handling 2021-03-22 13:22:13 -04:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c svcrdma: Clean up dto_q critical section in svc_rdma_recvfrom() 2021-03-31 15:58:48 -04:00
svc_rdma_rw.c svcrdma: Remove svc_rdma_recv_ctxt::rc_pages and ::rc_arg 2021-03-31 15:57:48 -04:00
svc_rdma_sendto.c svcrdma: Pass a useful error code to the send_err tracepoint 2021-04-14 12:09:27 -04:00
svc_rdma_transport.c svcrdma: Remove sc_read_complete_q 2021-03-31 15:57:48 -04:00
transport.c SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00
verbs.c SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00
xprt_rdma.h SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00