svcrdma: Clean up dto_q critical section in svc_rdma_recvfrom()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Mar 2021 15:44:49 +0000 (10:44 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 31 Mar 2021 19:58:48 +0000 (15:58 -0400)
commite3eded5e81c4df60006e94614ec645da089e35e7
treeee5cc39c1c0ab30bbe830436b25b1c039c80d969
parent5533c4f4b996b7fc36d16b5e0807ebbc08c93af4
svcrdma: Clean up dto_q critical section in svc_rdma_recvfrom()

This, to me, seems less cluttered and less redundant. I was hoping
it could help reduce lock contention on the dto_q lock by reducing
the size of the critical section, but alas, the only improvement is
readability.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c