]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Remove the RPCRDMA_REQ_F_PENDING flag
authorChuck Lever <chuck.lever@oracle.com>
Wed, 19 Jun 2019 14:32:54 +0000 (10:32 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 9 Jul 2019 14:30:20 +0000 (10:30 -0400)
commit62e3a35cbb9e2a6f53566dddcea5bb472002eca3
tree839292eedcbea0492684c70b7076d7334cc8cca0
parent1759bd79bfaf3954417b54da4aa501fd1bf5abff
xprtrdma: Remove the RPCRDMA_REQ_F_PENDING flag

Commit 2d2a25b53493 ("xprtrdma: Use xprt_pin_rqst in
rpcrdma_reply_handler") pins incoming RPC/RDMA replies so they
can be left in the pending requests queue while they are being
processed without introducing a race between ->buf_free and the
transport's reply handler. Therefore RPCRDMA_REQ_F_PENDING is no
longer necessary.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/xprt_rdma.h