linux-stable/include/linux/sunrpc
Chuck Lever f208e9508a SUNRPC: Count ingress RPC messages per svc_pool
svc_xprt_enqueue() can be costly, since it involves selecting and
waking up a process.

More than one enqueue is done per incoming RPC. For example,
svc_data_ready() enqueues, and so does svc_xprt_receive(). Also, if
an RPC message requires more than one call to ->recvfrom() to
receive it fully, each one of those calls does an enqueue.

To get a sense of the average number of transport enqueue operations
needed to process an incoming RPC message, re-use the "packets" pool
stat. Track the number of complete RPC messages processed by each
thread pool.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2023-08-29 17:45:22 -04:00
..
addr.h
auth.h SUNRPC: Add RPC client support for the RPC_AUTH_TLS auth flavor 2023-06-19 12:18:36 -04:00
auth_gss.h
bc_xprt.h
cache.h SUNRPC: change cache_head.flags bits to enum 2023-08-29 17:45:22 -04:00
clnt.h NFS: add sysfs shutdown knob 2023-06-19 15:08:12 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
metrics.h
msg_prot.h
rpc_pipe_fs.h
rpc_rdma.h
rpc_rdma_cid.h
sched.h
stats.h
svc.h SUNRPC: Count ingress RPC messages per svc_pool 2023-08-29 17:45:22 -04:00
svc_rdma.h svcrdma: Revert 2a1e4f21d8 ("svcrdma: Normalize Send page handling") 2023-06-12 12:16:36 -04:00
svc_rdma_pcl.h
svc_xprt.h SUNRPC: change svc_xprt::xpt_flags bits to enum 2023-08-29 17:45:22 -04:00
svcauth.h SUNRPC: Add enum svc_auth_status 2023-08-29 17:45:22 -04:00
svcauth_gss.h
svcsock.h SUNRPC: remove timeout arg from svc_recv() 2023-08-29 17:45:22 -04:00
timer.h
types.h
xdr.h SUNRPC: Convert svc_tcp_sendmsg to use bio_vecs directly 2023-08-29 17:45:22 -04:00
xprt.h SUNRPC: Add a TCP-with-TLS RPC transport class 2023-06-19 12:28:10 -04:00
xprtmultipath.h
xprtrdma.h
xprtsock.h SUNRPC: Add a TCP-with-TLS RPC transport class 2023-06-19 12:28:10 -04:00