kernel_samsung_a53x/include/linux/sunrpc
Chuck Lever 02094bf7cf SUNRPC: Add svc_rqst_replace_page() API
[ Upstream commit 2f0f88f42f2eab0421ed37d7494de9124fdf0d34 ]

Replacing a page in rq_pages[] requires a get_page(), which is a
bus-locked operation, and a put_page(), which can be even more
costly.

To reduce the cost of replacing a page in rq_pages[], batch the
put_page() operations by collecting "freed" pages in a pagevec,
and then release those pages when the pagevec is full. This
pagevec is also emptied when each RPC completes.

[ cel: adjusted to apply without f6e70aab9dfe ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:44 +01:00
..
addr.h
auth.h
auth_gss.h
bc_xprt.h
cache.h
clnt.h sunrpc: add a struct rpc_stats arg to rpc_create_args 2024-11-19 11:32:41 +01:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_krb5_enctypes.h
metrics.h
msg_prot.h SUNRPC: Move definition of XDR_UNIT 2024-11-19 12:27:28 +01:00
rpc_pipe_fs.h
rpc_rdma.h
rpc_rdma_cid.h
sched.h
stats.h
svc.h SUNRPC: Add svc_rqst_replace_page() API 2024-11-19 12:27:44 +01:00
svc_rdma.h SUNRPC: Rename svc_encode_read_payload() 2024-11-19 12:27:20 +01:00
svc_xprt.h SUNRPC: Export svc_xprt_received() 2024-11-19 12:27:36 +01:00
svcauth.h
svcauth_gss.h
svcsock.h
timer.h
types.h
xdr.h NFSD: Update the NFSv3 PATHCONF3res encoder to use struct xdr_stream 2024-11-19 12:27:34 +01:00
xprt.h
xprtmultipath.h
xprtrdma.h
xprtsock.h