kernel-hacking-2024-linux-s.../net/sunrpc
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
..
auth_gss rpc: fix NULL dereference on kmalloc failure 2021-03-06 16:41:49 -05:00
xprtrdma xprtrdma: Revert 586a0787ce 2021-05-27 08:46:19 -04:00
addr.c
auth.c
auth_null.c
auth_unix.c
backchannel_rqst.c
cache.c
clnt.c SUNRPC in case of backlog, hand free slots directly to waiting task 2021-05-20 12:17:08 -04:00
debugfs.c
Kconfig
Makefile
netns.h
rpc_pipe.c
rpcb_clnt.c sunrpc: honor rpc_task's timeout value in rpcb_create() 2021-04-05 09:04:21 -04:00
sched.c SUNRPC: Set memalloc_nofs_save() for sync tasks 2021-03-08 15:32:16 -05:00
socklib.c
socklib.h
stats.c
sunrpc.h
sunrpc_syms.c
svc.c SUNRPC: Fix null pointer dereference in svc_rqst_free() 2021-04-23 10:43:05 -04:00
svc_xprt.c SUNRPC: refresh rq_pages using a bulk page allocator 2021-04-30 11:20:43 -07:00
svcauth.c
svcauth_unix.c sunrpc: Remove unused function ip_map_lookup 2021-04-06 11:24:31 -04:00
svcsock.c SUNRPC: fix ternary sign expansion bug in tracing 2021-04-22 11:02:28 -04:00
sysctl.c
timer.c
xdr.c
xprt.c SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00
xprtmultipath.c
xprtsock.c SUNRPC: Fix Oops in xs_tcp_send_request() when transport is disconnected 2021-05-20 12:17:08 -04:00