svcrdma: Shrink scope of spinlock on RQ CQ
authorTom Tucker <tom@opengridcomputing.com>
Tue, 6 May 2008 16:49:05 +0000 (11:49 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 19 May 2008 12:33:53 +0000 (07:33 -0500)
commit47698e083e40bbd3ef87f5561390ae33abb13cd0
tree116427837fc578ad419068306e94adb2daa8fdb1
parent8740767376b32a7772607e1b2b07cde0c24120cc
svcrdma: Shrink scope of spinlock on RQ CQ

The rq_cq_reap function is only called from the dto_tasklet. The
only resource shared with other threads is the sc_rq_dto_q. Move the
spin lock to protect only this list.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c