diff options
author | Steve Wise <swise@opengridcomputing.com> | 2009-05-14 23:34:28 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-05-28 00:57:24 +0200 |
commit | 98779be861a05c4cb75bed916df72ec0cba8b53d (patch) | |
tree | 6c7f51832c835cc3e98796fff83abc440edb3255 /drivers | |
parent | nfsd: Revert "svcrpc: take advantage of tcp autotuning" (diff) | |
download | linux-98779be861a05c4cb75bed916df72ec0cba8b53d.tar.xz linux-98779be861a05c4cb75bed916df72ec0cba8b53d.zip |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions