]> asedeno.scripts.mit.edu Git - linux.git/commit
xprtrdma: Clean up sendctx functions
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Apr 2019 13:39:53 +0000 (09:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 19:20:21 +0000 (15:20 -0400)
commitdbcc53a52df256880c2ffa4ee45661419435998a
treec18bd197d80ba058cd338cbeecf80149389d44ea
parent17e4c443c0b433354016df60a7bd3f1c6aac759c
xprtrdma: Clean up sendctx functions

Minor clean-ups I've stumbled on since sendctx was merged last year.
In particular, making Send completion processing more efficient
appears to have a measurable impact on IOPS throughput.

Note: test_and_clear_bit() returns a value, thus an explicit memory
barrier is not 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/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h