SUNRPC: Per-rpc_clnt task PIDs
authorChuck Lever <chuck.lever@oracle.com>
Mon, 4 Oct 2021 14:10:10 +0000 (10:10 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Oct 2021 09:05:54 +0000 (11:05 +0200)
commit0392dd51f9c78d46109a408f27dc820300dcd8bd
treef3b4644162169edcdde27b972e2c9c36ec35fe2f
parent8e09650f5ec68858f4b8b67cdef9e2ece9b208f3
SUNRPC: Per-rpc_clnt task PIDs

The current range of RPC task PIDs is 0..65535. That's not adequate
for distinguishing tasks across multiple rpc_clnts running high
throughput workloads.

To help relieve this situation and to reduce the bottleneck of
having a single atomic for assigning all RPC task PIDs, assign task
PIDs per rpc_clnt.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/clnt.h
net/sunrpc/sched.c