]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Enable SG list chaining
authorDavid Dillow <dillowda@ornl.gov>
Wed, 19 Dec 2007 22:09:15 +0000 (17:09 -0500)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:37 +0000 (14:15 -0800)
commit76b176a8bb6324328ad2c023964539c2451ba8b8
tree54e5b987ede7eadd3d8b4b84aee94b18b6c5ba74
parent2622662beea4ba9b89309aa232a792b99bab66a9
IB/srp: Enable SG list chaining

By default, the SCSI mid-layer seems to send down 512KB requests
(sg_tablesize = 256), with some requests occasionally combined. By
allowing the mid-layer to chain requests, we can easily grow to 1024KB
or larger -- I've tested 4096KB I/O requests with no problems.

I looked through the DMA paths on the hardware drivers to ensure they
could take advantage of the SG chaining, and it seems that every one
except ipath uses the system's DMA routines, which have been converted
to handle chaining.  ipath looks like it should be OK, but I have no
way to test it.

Signed-off-by: David Dillow <dillowda@ornl.gov>
[ Tested on ipath.  - Roland ]

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c