SUNRPC: Treat the task and request as separate in the xprt_ops->send_request()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 30 Aug 2018 17:27:29 +0000 (13:27 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:15 +0000 (15:35 -0400)
commit50f484e298218b7271fad8a23bd44c82fb3110e1
treed685e2ade1957ba38d150bfb023ae1936e66fa99
parent902c58872e1e9a2c146a55b0701c0b26cc5a4b24
SUNRPC: Treat the task and request as separate in the xprt_ops->send_request()

When we shift to using the transmit queue, then the task that holds the
write lock will not necessarily be the same as the one being transmitted.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c