linux/net/sunrpc/xprtrdma
Tom Tucker dbcd00eba9 svcrdma: Fix race with dto_tasklet in svc_rdma_send
The svc_rdma_send function will attempt to reap SQ WR to make room for
a new request if it finds the SQ full. This function races with the
dto_tasklet that also reaps SQ WR. To avoid polling and arming the CQ
unnecessarily move the test_and_clear_bit of the RDMAXPRT_SQ_PENDING
flag and arming of the CQ to the sq_cq_reap function.

Refactor the rq_cq_reap function to match sq_cq_reap so that the
code is easier to follow.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
2008-05-19 07:33:44 -05:00
..
Makefile rdma: makefile 2008-02-01 16:42:14 -05:00
rpc_rdma.c SUNRPC: Fix an unnecessary implicit type cast in rpcrdma_count_chunks() 2008-01-30 02:05:42 -05:00
svc_rdma_marshal.c rdma: ONCRPC RDMA protocol marshalling 2008-02-01 16:42:14 -05:00
svc_rdma_recvfrom.c svcrdma: Simplify receive buffer posting 2008-05-19 07:33:43 -05:00
svc_rdma_sendto.c svcrdma: Simplify receive buffer posting 2008-05-19 07:33:43 -05:00
svc_rdma_transport.c svcrdma: Fix race with dto_tasklet in svc_rdma_send 2008-05-19 07:33:44 -05:00
svc_rdma.c rdma: SVCRDMA Transport Module 2008-02-01 16:42:14 -05:00
transport.c SUNRPC: Fix a nfs4 over rdma transport oops 2008-03-07 14:35:32 -05:00
verbs.c IB/core: Add support for "send with invalidate" work requests 2008-04-16 21:09:32 -07:00
xprt_rdma.h RPCRDMA: rpc rdma transport switch 2007-10-09 17:18:03 -04:00