]> git.baikalelectronics.ru Git - kernel.git/commit
svcrdma: Use llist for managing cache of recv_ctxts
authorChuck Lever <chuck.lever@oracle.com>
Fri, 16 Aug 2019 21:49:38 +0000 (17:49 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 19 Aug 2019 14:59:28 +0000 (10:59 -0400)
commit642ae0fb7aa19afbb49e6004727a574051792d22
treeacd01978c642456590b9be3b2220169985ab0bd1
parent179375766ecdf421cdc6baa48d0cff72bedd27c6
svcrdma: Use llist for managing cache of recv_ctxts

Use a wait-free mechanism for managing the svc_rdma_recv_ctxts free
list. Subsequently, sc_recv_lock can be eliminated.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
net/sunrpc/xprtrdma/svc_rdma_transport.c