]> git.baikalelectronics.ru Git - kernel.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)
commit02b0f00b5dd7fb7c816742d226d1407e7944cb8b
treec18bd197d80ba058cd338cbeecf80149389d44ea
parente6d2b3a882278dbd2009d18499883166ea0869dd
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