summaryrefslogtreecommitdiff
path: root/drivers/scsi/imm.h
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2009-05-14 21:34:28 (GMT)
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-05-27 22:57:24 (GMT)
commit98779be861a05c4cb75bed916df72ec0cba8b53d (patch)
tree6c7f51832c835cc3e98796fff83abc440edb3255 /drivers/scsi/imm.h
parent7f4218354fe312b327af06c3d8c95ed5f214c8ca (diff)
downloadlinux-fsl-qoriq-98779be861a05c4cb75bed916df72ec0cba8b53d.tar.xz
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/scsi/imm.h')
0 files changed, 0 insertions, 0 deletions