OSDN Git Service

SUNRPC: More fixes for backlog congestion
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 25 May 2021 22:43:38 +0000 (18:43 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 26 May 2021 10:36:13 +0000 (06:36 -0400)
commite86be3a04bc4aeaf12f93af35f08f8d4385bcd98
treeb57024cabf45ad2675422994e38cacb781d6aa53
parentd275880abce9ac66cb842af828fbc2b1ba8082a0
SUNRPC: More fixes for backlog congestion

Ensure that we fix the XPRT_CONGESTED starvation issue for RDMA as well
as socket based transports.
Ensure we always initialise the request after waking up from the backlog
list.

Fixes: e877a88d1f06 ("SUNRPC in case of backlog, hand free slots directly to waiting task")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h