svcrdma: Add dma map count and WARN_ON
authorTom Tucker <tom@opengridcomputing.com>
Wed, 28 May 2008 18:17:44 +0000 (13:17 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Wed, 2 Jul 2008 20:01:56 +0000 (15:01 -0500)
commit87295b6c5c7fd7bbc0ce3e7f42d2adbbac7352b9
tree11a273d3fd2c61bbbf102b80c0b45a0f0021d499
parente6ab9143719ff76f0b95f0866c4d0f6c743ad2e0
svcrdma: Add dma map count and WARN_ON

Add a dma map count in order to verify that all DMA mapping resources
have been freed when the transport is closed.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c
net/sunrpc/xprtrdma/svc_rdma_transport.c