linux/net/sunrpc/xprtrdma
Steve Wise 98779be861 svcrdma: dma unmap the correct length for the RPCRDMA header page.
The svcrdma module was incorrectly unmapping the RPCRDMA header page.
On IBM pserver systems this causes a resource leak that results in
running out of bus address space (10 cthon iterations will reproduce it).
The code was mapping the full page but only unmapping the actual header
length.  The fix is to only map the header length.

I also cleaned up the use of ib_dma_map_page() calls since the unmap
logic always uses ib_dma_unmap_single().  I made these symmetrical.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-05-27 18:57:24 -04:00
..
Makefile rdma: makefile 2008-02-01 16:42:14 -05:00
rpc_rdma.c XPRTRDMA: correct an rpc/rdma inline send marshaling error 2009-03-11 14:37:55 -04:00
svc_rdma.c svcrdma: Create a kmem cache for the WR contexts 2008-07-02 15:02:01 -05:00
svc_rdma_marshal.c rdma: ONCRPC RDMA protocol marshalling 2008-02-01 16:42:14 -05:00
svc_rdma_recvfrom.c svcrdma: Fix dma map direction for rdma read targets 2009-04-25 18:11:14 -04:00
svc_rdma_sendto.c svcrdma: dma unmap the correct length for the RPCRDMA header page. 2009-05-27 18:57:24 -04:00
svc_rdma_transport.c svcrdma: dma unmap the correct length for the RPCRDMA header page. 2009-05-27 18:57:24 -04:00
transport.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
verbs.c sunrpc: fix warning in net/sunrpc/xprtrdma/verbs.c 2008-11-25 16:58:42 -08:00
xprt_rdma.h RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls. 2008-10-10 15:13:31 -04:00